1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-26 23:21:10 +03:00

Add "mkdir -p /run/postgresql" to docker-entrypoint.sh.

This allows the container to run with a tmpfs /run.
This commit is contained in:
sixcorners
2016-10-20 00:06:16 -05:00
parent 69bc540ecf
commit e2f07374b3
7 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql

View File

@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
chmod 700 "$PGDATA"
chown -R postgres "$PGDATA"
mkdir -p /run/postgresql
chmod g+s /run/postgresql
chown -R postgres /run/postgresql