mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
WIP: single stage Docker build for 64bit MXE
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0a3007836f
commit
24bf9540cc
3 changed files with 60 additions and 12 deletions
|
|
@ -2,10 +2,13 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
# known good MXE sha
|
||||
MXE_SHA="8966a64"
|
||||
SCRIPTPATH=$(dirname $0)
|
||||
|
||||
export VERSION=1.1
|
||||
# version of the docker image
|
||||
VERSION=2.0
|
||||
|
||||
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 .
|
||||
docker build -t subsurface/mxe-build-container:$VERSION --build-arg=mxe_sha=$MXE_SHA -f Dockerfile .
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue