aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-04-15 22:55:10 +0100
committerGravatar Chris Lovering <[email protected]>2025-04-15 22:55:10 +0100
commit86aedcb5b722aa52ee1daa7a9347abc2a43b1dfb (patch)
tree3e826b42ee35d29662ccce8c0a59eca337bc00e3
parentAwait async functions (diff)
Create user with id 1000 in the dockerfile
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 65582f9..4b2a7ee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,6 +26,9 @@ RUN --mount=type=cache,target=/root/.cache/uv \
FROM python:$python_version
+# Create user 1000 so that the runAsUser has a username
+RUN useradd kingarthur -u 1000
+
# Set Git SHA environment variable for Sentry
ARG git_sha="development"
ENV GIT_SHA=$git_sha