Skip to content

Commit

Permalink
Revert "Revert "chore: synchronize workspaces""
Browse files Browse the repository at this point in the history
This reverts commit 148612b.
  • Loading branch information
aeneasr authored Jan 11, 2025
1 parent 9b2d65a commit 6ca3aec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 6ca3aec

Please sign in to comment.