Commit 8493575c authored by Ben Gamari's avatar Ben Gamari 🐢

ghc-docker: Finish it

parent ce20b615
......@@ -2,6 +2,10 @@
set -e -x
if [[ -z "$BUILD_FLAVOUR" ]]; then
BUILD_FLAVOUR="validate"
fi
if [[ -z "$IMAGE" ]]; then
IMAGE="$1"
shift
......@@ -27,7 +31,11 @@ cd ghc
.gitlab/ci.sh configure
EOF
image=$(docker commit $(cat $cidfile))
image=$(docker commit \
--change "WORKDIR /home/ghc/ghc" \
--change "ENV BIN_DIST_NAME tmp"
--change "ENV BUILD_FLAVOUR $BUILD_FLAVOUR"
$(cat $cidfile))
echo $image
rm -f $cidfile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment