From 26fee8bfee309b7887d1c45d5ab9ff44467efbaf Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 20 Apr 2018 23:37:12 -0700 Subject: dockerfile: upgrade stack. --- linux/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux') 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 -- cgit v1.2.3