Skip to content

Commit b6e0df1

Browse files
committed
Revert "docker: Remove remnants of .env file configuration"
This reverts commit 359a856. We can simply pass the '-o' / '--non-unique' argument instead. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 30ab498 commit b6e0df1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/docker/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
FROM ghcr.io/getpatchwork/pyenv:latest
22

3+
ARG UID=1000
4+
ARG GID=1000
5+
36
ARG TZ="Australia/Canberra"
47
ENV DEBIAN_FRONTEND noninteractive
58
ENV PYTHONUNBUFFERED 1
69
ENV PROJECT_HOME /home/patchwork/patchwork
710
ENV DJANGO_SETTINGS_MODULE patchwork.settings.dev
811

9-
RUN groupadd patchwork && \
10-
useradd --gid=patchwork --create-home patchwork
12+
RUN groupadd --gid=$GID patchwork && \
13+
useradd --uid=$UID --gid=$GID --create-home patchwork
1114
RUN rm -f /etc/localtime; ln -s /usr/share/zoneinfo/$TZ /etc/localtime
1215

1316
RUN eval "$(pyenv init -)"

0 commit comments

Comments
 (0)