Set LANG=C.UTF-8 in the docker container (fix #2571) (#2647)

This commit is contained in:
Alexis King 2019-08-01 02:30:07 -05:00 committed by Vamshi Surabhi
parent 727eee8493
commit 84ff3ff01b
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ nproc := $(shell nproc)
# TODO: needs to be replaced with something like yq
stack_resolver := $(shell awk '/^resolver:/ {print $$2;}' stack.yaml)
packager_ver := 20190326
packager_ver := 20190731
pg_dump_ver := 11
project_dir := $(shell pwd)
build_dir := $(project_dir)/$(shell stack path --dist-dir)/build

View File

@ -1,3 +1,4 @@
FROM scratch
COPY rootfs/ /
CMD ["graphql-engine", "serve"]
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
CMD ["graphql-engine", "serve"]

View File

@ -1,8 +1,8 @@
FROM hasura/haskell-docker-packager:20190326
FROM hasura/haskell-docker-packager:20190731
MAINTAINER vamshi@hasura.io
RUN apt-get update && apt-get install -y libpq5 upx \
&& update-ca-certificates \
&& mkdir -p /usr/src/busybox/rootfs/etc/ssl/certs \
&& cp -L /etc/ssl/certs/* /usr/src/busybox/rootfs/etc/ssl/certs/ \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*