From bbd996ff53a55c334c7ee8c5e746e69f84f0f23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6hning?= Date: Fri, 4 Feb 2022 00:05:19 +0100 Subject: [PATCH] [qt] Explicitly clone qtbase (#7238) QtSynchronizeRepo.cmake used to do that when a dependency was missing but since 8a94d1e it just ignores missing checkouts. --depth 5000 clones about a year of history and reduces the size of the repository by over 200MB. Cloning even less history would further reduce the size by less than 15MB. --- projects/qt/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/qt/Dockerfile b/projects/qt/Dockerfile index 26b6e964f..32862719f 100644 --- a/projects/qt/Dockerfile +++ b/projects/qt/Dockerfile @@ -23,6 +23,7 @@ RUN git clone --depth 1 https://github.com/AFLplusplus/AFLplusplus.git myaflplus RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qt5.git && \ cp -r qt5/cmake . && \ rm -rf qt5 +RUN git clone --branch dev --depth 5000 git://code.qt.io/qt/qtbase.git 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 RUN git clone --branch dev --depth 1 git://code.qt.io/qt/qtqa.git