]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docker: Remove remnants of .env file configuration
authorStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 20:36:12 +0000 (20:36 +0000)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 21:03:53 +0000 (21:03 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
tools/docker/Dockerfile

index 0a55b54dbebf4ead2b8e14316122e74ddb59d579..c732598655b8bf22eea67b0e1c8b47db642711c0 100644 (file)
@@ -1,16 +1,13 @@
 FROM ghcr.io/getpatchwork/pyenv:latest
 
-ARG UID=1000
-ARG GID=1000
-
 ARG TZ="Australia/Canberra"
 ENV DEBIAN_FRONTEND noninteractive
 ENV PYTHONUNBUFFERED 1
 ENV PROJECT_HOME /home/patchwork/patchwork
 ENV DJANGO_SETTINGS_MODULE patchwork.settings.dev
 
-RUN groupadd --gid=$GID patchwork && \
-    useradd --uid=$UID --gid=$GID --create-home patchwork
+RUN groupadd patchwork && \
+    useradd --gid=patchwork --create-home patchwork
 RUN rm -f /etc/localtime; ln -s /usr/share/zoneinfo/$TZ /etc/localtime
 
 RUN eval "$(pyenv init -)"