From 6c359c356b53838a47ddddb7cc3168336131776e Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Sat, 11 Jan 2025 11:51:20 +0100 Subject: [PATCH] chore: synchronize workspaces --- .docker/Dockerfile-alpine | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.docker/Dockerfile-alpine b/.docker/Dockerfile-alpine index 2b298693982..b852646e583 100644 --- a/.docker/Dockerfile-alpine +++ b/.docker/Dockerfile-alpine @@ -3,20 +3,20 @@ FROM alpine:3.20 RUN <<HEREDOC apk add --no-cache --upgrade ca-certificates - # Add a user/group for Ory with a stable UID + GID. Values are from nonroot from distroless + # Add a user/group for nonroot with a stable UID + GID. Values are from nonroot from distroless # for interoperability with other containers. - addgroup --system --gid 65532 ory + addgroup --system --gid 65532 nonroot adduser --system --uid 65532 \ - --gecos "Ory User" \ - --home /home/ory \ - --ingroup ory \ + --gecos "nonroot User" \ + --home /home/nonroot \ + --ingroup nonroot \ --shell /sbin/nologin \ - ory + nonroot HEREDOC COPY hydra /usr/bin/hydra -USER ory +USER nonroot ENTRYPOINT ["hydra"] CMD ["serve", "all"]