diff options
author | Robert Löhning <robert.loehning@qt.io> | 2020-10-21 19:23:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 10:23:50 -0700 |
commit | 88fa1b2da7cc9169872de6cad539a1a7f605a5e0 (patch) | |
tree | a39afa7aab9dcedc099ddd845034b00ee06e77cd /projects/qt | |
parent | 0a691dcbff171abaa8baa09b0f86d035d438bb80 (diff) | |
download | oss-fuzz-88fa1b2da7cc9169872de6cad539a1a7f605a5e0.tar.gz |
[qt] Clone submodules in one go (#4555)
Diffstat (limited to 'projects/qt')
-rw-r--r-- | projects/qt/Dockerfile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/projects/qt/Dockerfile b/projects/qt/Dockerfile index 19417c161..bd0423a0a 100644 --- a/projects/qt/Dockerfile +++ b/projects/qt/Dockerfile @@ -16,10 +16,9 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y libc6-dev:i386 -RUN git clone --branch 5.15 --depth 1 git://code.qt.io/qt/qt5.git qt -WORKDIR qt -RUN git submodule update --init --depth 1 qtbase -RUN git submodule update --init --depth 1 qtsvg -WORKDIR $SRC +RUN git clone --branch 5.15 --depth 1 --shallow-submodules \ + --recurse-submodules=qtbase \ + --recurse-submodules=qtsvg \ + git://code.qt.io/qt/qt5.git qt RUN git clone --depth 1 git://code.qt.io/qt/qtqa.git RUN cp qtqa/fuzzing/oss-fuzz/build.sh $SRC/ |