[cups] minimize building script (#12072)

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>
This commit is contained in:
TTFISH 2024-06-16 11:41:38 +08:00 committed by GitHub
parent 96b6ae4d14
commit 7f91500675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 19 deletions

View File

@ -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

View File

@ -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