We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11322b commit d94e749Copy full SHA for d94e749
build-docker.sh
@@ -2,8 +2,6 @@
2
3
set -eux
4
5
-docker build --tag fpco/static-base static-base
6
-
7
LAST_LINE=$(stack sdist 2>&1 | tail -n 1)
8
SDIST=${LAST_LINE##* }
9
@@ -14,7 +12,7 @@ docker run --rm \
14
12
-v $(pwd)/build-docker:/host-bin \
15
13
-v $SDIST:/sdist.tar.gz \
16
-v $(pwd)/build-home:/home/build \
17
- fpco/static-base \
+ fpco/docker-static-haskell:8.0.1 \
18
/bin/bash -c \
19
'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'
20
0 commit comments