aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docker/mxe-build-container/build-container.sh
blob: 1f5e1eddcbea617b7e1f8084e3397c884a45711a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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