ghcup-hs/Dockerfile

43 lines
442 B
Docker
Raw Normal View History

2020-03-24 20:55:33 +00:00
FROM alpine:edge
# ghc and cabal
RUN apk add --no-cache \
curl \
gcc \
g++ \
gmp-dev \
ncurses-dev \
libffi-dev \
make \
xz \
tar \
perl \
\
cabal \
ghc
# utils
RUN apk add --no-cache \
bash
## Package specific
RUN apk add --no-cache \
zlib \
zlib-dev \
zlib-static \
gmp \
gmp-dev \
openssl-dev \
openssl-libs-static \
xz \
xz-dev
2020-04-09 17:53:56 +00:00
RUN cabal v2-update
2020-03-24 20:55:33 +00:00
COPY . /app
WORKDIR /app
RUN chmod +x /app/docker/build.sh