-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Romain GÉRARD
committed
Jul 27, 2018
1 parent
675d431
commit ce6e05d
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM alpine:3.6 as builder | ||
FROM alpine:3.8 as builder | ||
MAINTAINER [email protected] | ||
|
||
RUN apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/community \ | ||
ca-certificates git ghc upx curl musl-dev gmp-dev zlib-dev pcre-dev libx11-dev libxrandr-dev | ||
RUN curl -sSL https://get.haskellstack.org/ | sh | ||
ca-certificates git ghc=8.4.3-r0 upx curl musl-dev gmp-dev zlib-dev pcre-dev libx11-dev libxrandr-dev | ||
RUN curl -L https://github.com/commercialhaskell/stack/releases/download/v1.6.5/stack-1.6.5-linux-x86_64-static.tar.gz | tar -xz ; \ | ||
cp stack-1.6.5-linux-x86_64-static/stack /usr/bin/ | ||
|
||
COPY stack.yaml /mnt | ||
COPY *.cabal /mnt | ||
|
@@ -21,7 +22,7 @@ RUN upx --ultra-brute /root/.local/bin/greenclip | |
|
||
|
||
|
||
FROM alpine:latest as runner | ||
FROM alpine:3.8 as runner | ||
MAINTAINER [email protected] | ||
|
||
WORKDIR /root | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters