aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTTFISH <jiongchiyu@gmail.com>2024-06-16 11:41:38 +0800
committerGitHub <noreply@github.com>2024-06-15 23:41:38 -0400
commit7f915006751d37347078beb0040fb41c0d2a3436 (patch)
treef0b08ddb19d9b4714c3c10c74f8832de55850b36
parent96b6ae4d14970ead0fe4a6bd2c3c0ecdc5541ecd (diff)
downloadoss-fuzz-upstream-master.tar.gz
[cups] minimize building script (#12072)upstream-master
Remove build.sh and change Dockerfile. The build script location fits the upstream file organization in `OpenPrinting/fuzzing`. Signed-off-by: TTFISH <jiongchiyu@gmail.com>
-rw-r--r--projects/cups/Dockerfile2
-rw-r--r--projects/cups/build.sh18
2 files changed, 1 insertions, 19 deletions
diff --git a/projects/cups/Dockerfile b/projects/cups/Dockerfile
index f842fc707..7c60dd847 100644
--- a/projects/cups/Dockerfile
+++ b/projects/cups/Dockerfile
@@ -18,5 +18,5 @@ RUN apt-get update && apt-get install -y zlib1g-dev libavahi-client-dev libsyste
RUN git clone --depth 1 https://github.com/OpenPrinting/cups
RUN git clone --depth 1 https://github.com/OpenPrinting/fuzzing.git
-COPY build.sh $SRC/
+RUN cp $SRC/fuzzing/projects/cups/oss_fuzz_build.sh $SRC/build.sh
WORKDIR $SRC/cups \ No newline at end of file
diff --git a/projects/cups/build.sh b/projects/cups/build.sh
deleted file mode 100644
index 198a57b58..000000000
--- a/projects/cups/build.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash -eu
-# Copyright 2022 Google LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-################################################################################
-
-$SRC/fuzzing/cups/oss_fuzz_build.sh