Skip to content

Commit 9e29c79

Browse files
author
Jérémy Besson
committed
Test with USER 1000008000
1 parent 811d339 commit 9e29c79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

9.5/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ RUN set -ex; \
1212
fi
1313

1414
# explicitly set user/group IDs
15-
RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1001 postgres
15+
#RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1001 postgres
16+
RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1000080001 postgres
1617

1718

1819
# grab gosu for easy step-down from root
@@ -60,7 +61,7 @@ RUN apt-get update \
6061
postgresql-contrib-$PG_MAJOR=$PG_VERSION \
6162
&& rm -rf /var/lib/apt/lists/*
6263

63-
USER 1001
64+
USER 1000080001
6465

6566
# make the sample config easier to munge (and "correct by default")
6667
RUN mv -v /usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample /usr/share/postgresql/ \

0 commit comments

Comments
 (0)