aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.android
diff options
context:
space:
mode:
authorThomas <thomas.giudici@proton.me>2026-06-23 09:59:58 +0200
committerThomas <thomas.giudici@proton.me>2026-06-23 13:43:02 +0200
commit5564db6791008f9e6b950b03fd1b5b8052adec50 (patch)
tree99bb651381cb780b39b694066b16d46f82497602 /Dockerfile.android
parent0e78e60cd799aaa207125c0c51278f0d481e9dea (diff)
downloadmonzero-gui-5564db6791008f9e6b950b03fd1b5b8052adec50.tar.gz
monzero-gui-5564db6791008f9e6b950b03fd1b5b8052adec50.tar.xz
monzero-gui-5564db6791008f9e6b950b03fd1b5b8052adec50.zip
Dockerfiles: pin Qt to a commit hash
Qt was cloned with -b ${QT_VERSION} --depth 1 but, unlike every other dependency in these files, never reset to a commit, so a moved upstream tag would silently change the Qt source built into the release. Pin the qt5 superproject to its v5.15.19-lts-lgpl commit and let it resolve the submodules (git submodule update on linux/windows, init-repository on android), so only the qt5 hash is hardcoded. qt5 records the exact submodule commits, and the relative .gitmodules URLs keep the fetches on https. Follow-up to #4613.
Diffstat (limited to 'Dockerfile.android')
-rw-r--r--Dockerfile.android1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile.android b/Dockerfile.android
index daa0acc9..c99a8d4a 100644
--- a/Dockerfile.android
+++ b/Dockerfile.android
@@ -58,6 +58,7 @@ RUN wget -q https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zl
RUN git clone https://code.qt.io/qt/qt5.git -b ${QT_VERSION} --depth 1 \
&& cd qt5 \
+ && git reset --hard dc2ac680fa9d0ef7b0d9520859593d13951bedea \
&& perl init-repository --module-subset=default,-qtwebengine \
&& PATH=${HOST_PATH} ./configure -v -developer-build -release \
-xplatform android-clang \