aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-11-04 21:49:18 +0000
committerGitHub <noreply@github.com>2022-11-04 21:49:18 +0000
commita7b74176e3dbcfd36525388665c64674c707e5c3 (patch)
treebd2776e5ab368089309052be1fe956d141d92408 /Dockerfile
parentb2712cd2b1ca8537d97d7cd6a416120826638e5c (diff)
Revert Docker user change
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 49999234..a9bbce92 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,7 +24,7 @@ RUN --mount=target=. \
go build -v -ldflags="${FLAGS}" -trimpath -o /out/ ./cmd/...
#
-# The dendrite base image; mainly creates a user and switches to it
+# The dendrite base image
#
FROM alpine:latest AS dendrite-base
LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go"
@@ -32,8 +32,6 @@ LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.documentation="https://matrix-org.github.io/dendrite/"
LABEL org.opencontainers.image.vendor="The Matrix.org Foundation C.I.C."
-RUN addgroup dendrite && adduser dendrite -G dendrite -u 1337 -D
-USER dendrite
#
# Builds the polylith image and only contains the polylith binary