aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/qt
diff options
context:
space:
mode:
authorGravatar Robert Löhning <robert.loehning@qt.io>2020-05-26 06:53:19 +0200
committerGravatar GitHub <noreply@github.com>2020-05-25 21:53:19 -0700
commite41dd0e6420cdd62af3a17d17f21697c79c663f1 (patch)
tree5987aba170bd2bc2277ce4272d9d5956c78bb65f /projects/qt
parent8ce95adeace79f552357d260a8e6557b1fa43e96 (diff)
[qt] Get a shallow clone of qtbase (#3872)
Reduces the size by nearly 200 MB
Diffstat (limited to 'projects/qt')
-rw-r--r--projects/qt/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/qt/Dockerfile b/projects/qt/Dockerfile
index ec7261a5..200916a3 100644
--- a/projects/qt/Dockerfile
+++ b/projects/qt/Dockerfile
@@ -20,7 +20,7 @@ RUN dpkg --add-architecture i386
RUN apt-get update && apt-get install -y build-essential libc6-dev:i386
RUN git clone --branch 5.15 --depth 1 git://code.qt.io/qt/qt5.git qt
WORKDIR qt
-RUN perl init-repository --module-subset=qtbase
+RUN git submodule update --init --depth 1 qtbase
WORKDIR $SRC
RUN git clone --depth 1 git://code.qt.io/qt/qtqa.git
RUN git clone --depth 1 https://github.com/google/AFL.git