summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-30 11:28:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-30 16:36:08 -0700
commitf425bbbde3ce775962db4ee71a3e6cd1431cd49a (patch)
tree00d571907b3278f46d4645b0549ec59ef1c0435d /scripts
parent03e2d1e045bed568a613140ce3084158d22a6571 (diff)
downloadsubsurface-f425bbbde3ce775962db4ee71a3e6cd1431cd49a.tar.gz
build-system: switch to the 32/64bit MXE build container
This doesn't actually build 32 bit binaries, yet. One step at a time. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/docker/mxe-build-container/build-container.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/docker/mxe-build-container/build-container.sh b/scripts/docker/mxe-build-container/build-container.sh
index c1ab1c65f..f5dc579d4 100644
--- a/scripts/docker/mxe-build-container/build-container.sh
+++ b/scripts/docker/mxe-build-container/build-container.sh
@@ -7,8 +7,11 @@ MXE_SHA="8966a64"
SCRIPTPATH=$(dirname $0)
# version of the docker image
-VERSION=2.0
+VERSION=2.1
pushd $SCRIPTPATH
+
+# we use the 'experimental' --squash argument to significantly reduce the size of the massively huge
+# Docker container this produces
docker build --squash -t subsurface/mxe-build-container:$VERSION --build-arg=mxe_sha=$MXE_SHA -f Dockerfile .
popd