Skip to content

Commit

Permalink
Dockerfile.prebuilder: pull in unreleased stack to fix a bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx committed Mar 29, 2019
1 parent 7a3d0df commit bf243f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/alpine/Dockerfile.prebuilder
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,12 @@ ARG STACK_ALPINE_VERSION=1.9.1
RUN curl -sSfL https://github.com/commercialhaskell/stack/releases/download/v${STACK_ALPINE_VERSION}/stack-${STACK_ALPINE_VERSION}-linux-x86_64-static.tar.gz \
| tar --wildcards -C /usr/local/bin --strip-components=1 -xzvf - '*/stack' && chmod 755 /usr/local/bin/stack && \
stack config set system-ghc --global true

# upgrade stack to current master (2019-03-28). this fixes an issue
# with building internal libraries as used in cql-io-1.1.0.
# details: https://github.com/commercialhaskell/stack/pull/4596
RUN git clone https://github.com/commercialhaskell/stack && \
cd stack && \
git checkout f0b66a1ab60fb5be85f6cb60491915bf53d3cd3c && \
stack install && \
cp /root/.local/bin/stack /usr/local/bin/stack

0 comments on commit bf243f0

Please sign in to comment.