diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-04-20 23:37:12 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-04-20 23:37:12 -0700 |
commit | 26fee8bfee309b7887d1c45d5ab9ff44467efbaf (patch) | |
tree | 1cf3e3766662687c8d40c3a2e5429302c661c11e | |
parent | 3c18c1c571f23aa84f4f12a541d4dbdce774e178 (diff) | |
download | pandoc-26fee8bfee309b7887d1c45d5ab9ff44467efbaf.tar.gz |
dockerfile: upgrade stack.
-rw-r--r-- | linux/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/Dockerfile b/linux/Dockerfile index 40d37d13d..b64908b6b 100644 --- a/linux/Dockerfile +++ b/linux/Dockerfile @@ -6,7 +6,9 @@ ADD https://raw.githubusercontent.com/mitchty/alpine-ghc/master/mitch.tishmack%4 RUN apk update RUN apk add alpine-sdk git ca-certificates ghc cabal stack zlib-dev \ dpkg fakeroot sed gawk grep bash linux-headers +ENV PATH="/root/.local/bin:${PATH}" RUN stack update +RUN stack upgrade RUN stack config set system-ghc --global true #RUN mkdir -p /etc/stack #RUN echo "build: { split-objs: true }" > /etc/stack/config.yaml |