diff --git a/projects/dateparser/Dockerfile b/projects/dateparser/Dockerfile new file mode 100644 index 000000000000..e05e4ac12e3f --- /dev/null +++ b/projects/dateparser/Dockerfile @@ -0,0 +1,23 @@ +# Copyright 2023 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. +# +################################################################################ + +FROM gcr.io/oss-fuzz-base/base-builder-python +RUN pip3 install --upgrade pip +RUN git clone --depth 1 https://github.com/scrapinghub/dateparser.git dateparser \ + && cp dateparser/fuzzing/build.sh $SRC/ \ + && mv dateparser/fuzzing/corpus $SRC/ +WORKDIR $SRC/dateparser + diff --git a/projects/dateparser/project.yaml b/projects/dateparser/project.yaml index 6dd32b9a49a7..6b773bf6da65 100644 --- a/projects/dateparser/project.yaml +++ b/projects/dateparser/project.yaml @@ -7,5 +7,4 @@ fuzzing_engines: - libfuzzer sanitizers: - address - - undefined main_repo: "https://github.com/scrapinghub/dateparser.git"