Skip to content

Commit

Permalink
Generate locale based on LANG before setting up Postgres.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed Apr 26, 2018
1 parent 56032fc commit d4eb8c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/postgres.template.yml
Expand Up @@ -19,6 +19,7 @@ hooks:
to: sv start postgres || exit 1

run:
- exec: locale-gen $LANG && update-locale
- exec: mkdir -p /shared/postgres_run
- exec: chown postgres:postgres /shared/postgres_run
- exec: chmod 775 /shared/postgres_run
Expand Down

1 comment on commit d4eb8c3

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/docker-base-image-with-postgresql-10-released/84536/18

Please sign in to comment.