summaryrefslogtreecommitdiffstats
path: root/scripts/docker/mxe-build-container/build-container.sh
blob: c1ab1c65f3b0cdbb655c77c0ebde96216f67a84b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -x
set -e

# known good MXE sha
MXE_SHA="8966a64"
SCRIPTPATH=$(dirname $0)

# version of the docker image
VERSION=2.0

pushd $SCRIPTPATH
docker build --squash -t subsurface/mxe-build-container:$VERSION --build-arg=mxe_sha=$MXE_SHA -f Dockerfile .
popd