Skip to content

Commit 691d5f0

Browse files
author
Jérémy Besson
committed
Return to user 1001 : no space left on device with 1000008000
1 parent 260f71b commit 691d5f0

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
@@ -13,7 +13,7 @@ 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=1000080001 postgres
16+
RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=1001 postgres
1717

1818

1919
# grab gosu for easy step-down from root
@@ -61,7 +61,7 @@ RUN apt-get update \
6161
postgresql-contrib-$PG_MAJOR=$PG_VERSION \
6262
&& rm -rf /var/lib/apt/lists/*
6363

64-
USER 1000080001
64+
USER 1001
6565

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

0 commit comments

Comments
 (0)