@@ -5,7 +5,7 @@ ADD https://raw.githubusercontent.com/mitchty/alpine-ghc/master/mitch.tishmack%4
55 /etc/apk/keys/mitch.tishmack@gmail.com-55881c97.rsa.pub
66RUN apk update
77RUN apk add alpine-sdk git ca-certificates ghc cabal stack zlib-dev \
8− dpkg fakeroot sed gawk grep llvm linux-headers
8+ dpkg fakeroot sed gawk grep linux-headers
99RUN stack update
1010RUN stack config set system-ghc --global true
1111RUN mkdir -p /etc/stack
@@ -23,7 +23,7 @@ CMD git pull && \
2323 stack install --stack-yaml stack.pkg.yaml \
2424 --flag 'pandoc:static' \
2525 --flag 'pandoc:embed_data_files' \
26− --ghc-options '-fPIC -fllvm' \
26+ --ghc-options '-O2 -optc-Os -fPIC' \
2727 --local-bin-path /artifacts \
2828 pandoc pandoc-citeproc && \
2929 bash linux/make_deb.sh && \