aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docker/mxe-build-container/build-container.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docker/mxe-build-container/build-container.sh')
-rw-r--r--scripts/docker/mxe-build-container/build-container.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/docker/mxe-build-container/build-container.sh b/scripts/docker/mxe-build-container/build-container.sh
new file mode 100644
index 000000000..1f5e1eddc
--- /dev/null
+++ b/scripts/docker/mxe-build-container/build-container.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -x
+set -e
+
+SCRIPTPATH=$(dirname $0)
+
+export VERSION=1.1
+pushd $SCRIPTPATH
+docker build -t subsurface/mxe-build-container:$VERSION --build-arg=mxe_sha=1ee37f8 -f Dockerfile-stage1 .
+docker build -t subsurface/mxe-build-container:$VERSION --build-arg=VERSION=$VERSION -f Dockerfile-stage2 .
+popd