2020-01-02 15:44:45 +00:00
|
|
|
# Copyright 2019 Google Inc.
|
|
|
|
#
|
|
|
|
# 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
|
2022-10-10 18:04:23 +00:00
|
|
|
|
2022-01-05 16:50:31 +00:00
|
|
|
RUN apt-get update && apt-get install -y libssl-dev ninja-build libc6-dev:i386
|
2022-10-10 18:04:23 +00:00
|
|
|
|
2021-02-15 15:22:08 +00:00
|
|
|
RUN git clone --depth 1 https://github.com/AFLplusplus/AFLplusplus.git myaflplusplus && \
|
|
|
|
cp -r myaflplusplus/dictionaries afldictionaries && \
|
|
|
|
cp -r myaflplusplus/testcases afltestcases && \
|
|
|
|
rm -rf myaflplusplus
|
2022-10-10 18:04:23 +00:00
|
|
|
|
|
|
|
# Simulate a classic Qt folder structure
|
|
|
|
RUN mkdir qt
|
|
|
|
WORKDIR $SRC/qt
|
|
|
|
|
2021-12-20 23:28:28 +00:00
|
|
|
RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qt5.git && \
|
|
|
|
cp -r qt5/cmake . && \
|
|
|
|
rm -rf qt5
|
2022-02-03 23:05:19 +00:00
|
|
|
RUN git clone --branch dev --depth 5000 git://code.qt.io/qt/qtbase.git
|
2022-05-09 19:59:01 +00:00
|
|
|
RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qtimageformats.git
|
2021-12-20 18:42:36 +00:00
|
|
|
RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qtsvg.git
|
|
|
|
RUN cmake -DSYNC_TO_MODULE=qtsvg -DSYNC_TO_BRANCH=dev -P cmake/QtSynchronizeRepo.cmake
|
2021-01-05 00:30:44 +00:00
|
|
|
RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qtqa.git
|
2020-06-29 19:43:17 +00:00
|
|
|
RUN cp qtqa/fuzzing/oss-fuzz/build.sh $SRC/
|