mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-05 00:21:29 +00:00
9cfe656342
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
17 lines
412 B
Bash
17 lines
412 B
Bash
#!/bin/bash
|
|
set -x
|
|
set -e
|
|
|
|
# known good MXE sha
|
|
MXE_SHA="0d21cf2e31d4e6c0"
|
|
SCRIPTPATH=$(dirname $0)
|
|
|
|
# version of the docker image
|
|
VERSION=3.0
|
|
|
|
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
|