Base on fpco/pid1

This commit is contained in:
Michael Snoyman 2020-04-05 16:22:54 +03:00
parent 5a6d02eb46
commit 3992038a27
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046

View File

@ -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
COPY stack.yaml stackage-server.cabal /src/
RUN stack setup --stack-yaml /src/stack.yaml