diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index f5fda55fa..b06b63535 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -59,7 +59,7 @@ RUN dos2unix /bootstrap.sh ENV PGHOST=/var/run/postgresql ENV PGDATA=$PGHOST/data ENV PGUSER=postgres -RUN for ver in `ls /usr/lib/postgresql | head -n 1`; do su -c '/usr/lib/postgresql/'$ver'/bin/initdb -E "UTF-8" --lc-collate="en_US.UTF-8" --lc-ctype="en_US.UTF-8" --username=postgres' postgres; done +RUN for ver in `ls /usr/lib/postgresql | head -n 1`; do su -c '/usr/lib/postgresql/'$ver'/bin/initdb -E "UTF-8" --lc-collate="C" --lc-ctype="C" --username=postgres' postgres; done # Turn off all the fsync stuff for postgres -RUN for ver in /etc/postgresql/*/main; do mkdir -p $ver/conf.d/; echo -e "fsync=off\nfull_page_writes=off" >> $ver/conf.d/fsync.conf; done \ No newline at end of file +RUN for ver in /etc/postgresql/*/main; do mkdir -p $ver/conf.d/; echo -e "fsync=off\nfull_page_writes=off" >> $ver/conf.d/fsync.conf; done