mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-07 16:47:27 +01:00
Add LANG env var
This commit is contained in:
parent
f145417e06
commit
a5562eea85
@ -1,5 +1,6 @@
|
|||||||
FROM fpco/pid1:18.04
|
FROM fpco/pid1:18.04
|
||||||
|
|
||||||
|
ENV LANG C.UTF-8
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install libpq-dev curl -y && \
|
apt-get install libpq-dev curl -y && \
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
FROM docker.pkg.github.com/fpco/stackage-server/base-build:dcc4ec7213daed35b27629b894c06a9769b9acff as build-app
|
FROM docker.pkg.github.com/fpco/stackage-server/base-build:f145417e06738c487f47ffa2f59edc032124afab as build-app
|
||||||
|
|
||||||
RUN mkdir -p /artifacts/bin
|
RUN mkdir -p /artifacts/bin
|
||||||
COPY . /src
|
COPY . /src
|
||||||
RUN stack install --stack-yaml /src/stack.yaml --local-bin-path /artifacts/bin
|
RUN stack install --stack-yaml /src/stack.yaml --local-bin-path /artifacts/bin
|
||||||
|
|
||||||
FROM docker.pkg.github.com/fpco/stackage-server/base-run:dcc4ec7213daed35b27629b894c06a9769b9acff
|
FROM docker.pkg.github.com/fpco/stackage-server/base-run:f145417e06738c487f47ffa2f59edc032124afab
|
||||||
|
|
||||||
COPY --from=build-app /src/config/ /app/config/
|
COPY --from=build-app /src/config/ /app/config/
|
||||||
COPY --from=build-app /src/static/ /app/static/
|
COPY --from=build-app /src/static/ /app/static/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user