Skip to content

Commit

Permalink
Upgrade stack in fpco/stack-build image (#3684)
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Dec 22, 2017
1 parent f858f45 commit 6842dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/dockerfiles/stack-build/lts-9.0/Dockerfile
Expand Up @@ -46,6 +46,7 @@ RUN stack --system-ghc --resolver=$LTS_SLUG --local-bin-path=/usr/local/bin inst
RUN wget -O- "https://github.com/fpco/pid1/releases/download/pid1%2F$PID1_VERSION/pid1-$PID1_VERSION-linux-x86_64.tar.gz" | tar xzf - -C /usr/local && \
chown root:root /usr/local/sbin && \
chown root:root /usr/local/sbin/pid1

#
# Set up pid1 entrypoint and default command
#
Expand Down
3 changes: 3 additions & 0 deletions etc/dockerfiles/stack-build/lts-9.20/Dockerfile
@@ -0,0 +1,3 @@
FROM fpco/stack-build:lts-9.0
ARG STACK_VERSION=1.6.1
RUN curl -sSL https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C /usr/local/bin '*/stack'

0 comments on commit 6842dca

Please sign in to comment.