We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 811d339 commit 9e29c79Copy full SHA for 9e29c79
9.5/Dockerfile
@@ -12,7 +12,8 @@ RUN set -ex; \
12
fi
13
14
# explicitly set user/group IDs
15
-RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1001 postgres
+#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
17
18
19
# grab gosu for easy step-down from root
@@ -60,7 +61,7 @@ RUN apt-get update \
60
61
postgresql-contrib-$PG_MAJOR=$PG_VERSION \
62
&& rm -rf /var/lib/apt/lists/*
63
-USER 1001
64
+USER 1000080001
65
66
# make the sample config easier to munge (and "correct by default")
67
RUN mv -v /usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample /usr/share/postgresql/ \
0 commit comments