mirror of
https://github.com/tweag/asterius.git
synced 2024-09-11 08:55:32 +03:00
23 lines
327 B
Docker
23 lines
327 B
Docker
FROM terrorjack/asterius:base
|
|
|
|
ARG jobs=1
|
|
|
|
ARG jobs_th=1
|
|
|
|
ARG ASTERIUS_AHC_LD_IGNORE=1
|
|
|
|
COPY ghc-toolkit/boot-libs/cabal.config /tmp/cabal.config
|
|
COPY lts.sh /tmp/lts.sh
|
|
COPY pkgs.txt /tmp/pkgs.txt
|
|
|
|
RUN \
|
|
cd /tmp && \
|
|
ahc-cabal v1-update && \
|
|
./lts.sh
|
|
|
|
RUN \
|
|
rm -rf \
|
|
/root/.ahc-cabal \
|
|
/tmp/* \
|
|
/var/tmp/*
|