You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +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:
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
|
|||||||
chmod 700 "$PGDATA"
|
chmod 700 "$PGDATA"
|
||||||
chown -R postgres "$PGDATA"
|
chown -R postgres "$PGDATA"
|
||||||
|
|
||||||
|
mkdir -p /run/postgresql
|
||||||
chmod g+s /run/postgresql
|
chmod g+s /run/postgresql
|
||||||
chown -R postgres /run/postgresql
|
chown -R postgres /run/postgresql
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user