summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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