File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ RUN set -ex; \
1313
1414# explicitly set user/group IDs
1515# 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=1001 postgres
17-
16+ # RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1001 postgres
17+ RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1000080001 postgres
1818
1919# grab gosu for easy step-down from root
2020ENV GOSU_VERSION 1.7
@@ -75,7 +75,7 @@ VOLUME /var/lib/postgresql/data
7575
7676COPY docker-entrypoint.sh /usr/local/bin/
7777RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
78- USER 1001
78+ USER 1000080001
7979ENTRYPOINT ["docker-entrypoint.sh" ]
8080
8181EXPOSE 5432
You can’t perform that action at this time.
0 commit comments