Merge pull request #1202 from lnobach/master

docker: pin spreedbackend uid and add user group
This commit is contained in:
Joachim Bauch 2026-02-17 08:42:49 +01:00 committed by GitHub
commit 81fe82eb98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -12,7 +12,8 @@ RUN touch /.dockerenv && \
FROM alpine:3
ENV CONFIG=/config/proxy.conf
RUN adduser -D -S -H spreedbackend && \
RUN addgroup -g 850 spreedbackend && \
adduser -D --uid 850 -S -H -G spreedbackend spreedbackend && \
apk add --no-cache bash tzdata ca-certificates su-exec
COPY --from=builder /workdir/bin/proxy /usr/bin/nextcloud-spreed-signaling-proxy

View file

@ -12,7 +12,8 @@ RUN touch /.dockerenv && \
FROM alpine:3
ENV CONFIG=/config/server.conf
RUN adduser -D -S -H spreedbackend && \
RUN addgroup -g 850 spreedbackend && \
adduser -D --uid 850 -S -H -G spreedbackend spreedbackend && \
apk add --no-cache bash tzdata ca-certificates su-exec
COPY --from=builder /workdir/bin/signaling /usr/bin/nextcloud-spreed-signaling