aboutsummaryrefslogtreecommitdiff
path: root/ci/Dockerfile
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-29 19:16:32 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-29 19:16:32 +0200
commitae85907fd307651dc52c3cf7d439c04882c24562 (patch)
treea67ce1d81a6e3a80ae80bc02d3a38ac681c8ec32 /ci/Dockerfile
parent47373829babc4a1e2296efe4c8ae0770cfd47211 (diff)
downloadkristall-ae85907fd307651dc52c3cf7d439c04882c24562.tar.gz
Makes linux AppImage build reproducible with Docker.
Diffstat (limited to 'ci/Dockerfile')
-rw-r--r--ci/Dockerfile16
1 files changed, 14 insertions, 2 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile
index 48e2a24..0475622 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -5,9 +5,21 @@ RUN apt-get install -y git
RUN apt-get install -y qt5-default qt5-qmake qtmultimedia5-dev
RUN apt-get install -y libqt5svg5-dev
RUN apt-get install -y libssl-dev make g++
+RUN apt-get install -y wget
+RUN apt-get install -y fuse
-COPY compile.sh /compile.sh
+RUN wget -O /usr/local/bin/linuxdeploy https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-$(uname -m).AppImage
+RUN chmod +x /usr/local/bin/linuxdeploy
+RUN file $(which linuxdeploy)
+
+RUN wget -O /usr/local/bin/linuxdeployqt https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-$(uname -m).AppImage
+RUN chmod +x /usr/local/bin/linuxdeployqt
+RUN file $(which linuxdeployqt)
VOLUME /artifacts
-ENTRYPOINT /compile.sh \ No newline at end of file
+ENTRYPOINT /compile.sh
+
+RUN apt-get install -y qttools5-dev-tools
+
+COPY compile.sh /compile.sh