Skip to content

Commit e2f0737

Browse files
committed
Add "mkdir -p /run/postgresql" to docker-entrypoint.sh.
This allows the container to run with a tmpfs /run.
1 parent 69bc540 commit e2f0737

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

9.1/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

9.2/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

9.3/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

9.4/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

9.5/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

9.6/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [ "$1" = 'postgres' ]; then
1010
chmod 700 "$PGDATA"
1111
chown -R postgres "$PGDATA"
1212

13+
mkdir -p /run/postgresql
1314
chmod g+s /run/postgresql
1415
chown -R postgres /run/postgresql
1516

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy