mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-05 00:21:29 +00:00
12 lines
310 B
Bash
12 lines
310 B
Bash
|
#!/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
|