Skip to content

Commit fca2dee

Browse files
authored
Merge pull request #117 from nigredo-tori/patch-1
Use en_US.UTF-8 locale
2 parents d4331a1 + 12122a2 commit fca2dee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg
2525
COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list
2626

2727
RUN apt-get update \
28-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y acl sudo \
28+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y acl sudo locales \
2929
postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} postgresql-contrib-${PG_VERSION} \
30+
&& locale-gen en_US.UTF-8 \
31+
&& update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX \
32+
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \
3033
&& ln -sf ${PG_DATADIR}/postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf \
3134
&& ln -sf ${PG_DATADIR}/pg_hba.conf /etc/postgresql/${PG_VERSION}/main/pg_hba.conf \
3235
&& ln -sf ${PG_DATADIR}/pg_ident.conf /etc/postgresql/${PG_VERSION}/main/pg_ident.conf \

0 commit comments

Comments
 (0)