Skip to content

Commit 5252ae3

Browse files
author
Jérémy Besson
committed
Previous user test
1 parent fce9d70 commit 5252ae3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

9.5/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ 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=999 postgres
1616

17-
USER 1001:
17+
USER 999
1818

1919
# grab gosu for easy step-down from root
2020
ENV GOSU_VERSION 1.7

0 commit comments

Comments
 (0)