mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-22 07:37:53 +01:00
Base on fpco/pid1
This commit is contained in:
parent
5a6d02eb46
commit
3992038a27
@ -1,5 +1,10 @@
|
|||||||
FROM base-run
|
FROM fpco/pid1:18.04
|
||||||
|
|
||||||
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install libpq-dev curl -y && \
|
||||||
|
curl -sSL https://get.haskellstack.org/ | sh && \
|
||||||
|
unset DEBIAN_FRONTEND
|
||||||
RUN stack update
|
RUN stack update
|
||||||
COPY stack.yaml stackage-server.cabal /src/
|
COPY stack.yaml stackage-server.cabal /src/
|
||||||
RUN stack setup --stack-yaml /src/stack.yaml
|
RUN stack setup --stack-yaml /src/stack.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user