Skip to content

Commit d94e749

Browse files
committed
Use fpco/docker-static-haskell image
1 parent c11322b commit d94e749

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build-docker.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -eux
44

5-
docker build --tag fpco/static-base static-base
6-
75
LAST_LINE=$(stack sdist 2>&1 | tail -n 1)
86
SDIST=${LAST_LINE##* }
97

@@ -14,7 +12,7 @@ docker run --rm \
1412
-v $(pwd)/build-docker:/host-bin \
1513
-v $SDIST:/sdist.tar.gz \
1614
-v $(pwd)/build-home:/home/build \
17-
fpco/static-base \
15+
fpco/docker-static-haskell:8.0.1 \
1816
/bin/bash -c \
1917
'chown $(id -u) $HOME && rm -rf $HOME/pid1-* && tar zxfv /sdist.tar.gz && cd pid1-* && stack install --test --local-bin-path /host-bin --ghc-options "-optl-static -fPIC -optc-Os" && upx --best --ultra-brute /host-bin/pid1'
2018

0 commit comments

Comments
 (0)