File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,20 @@ FROM alpine:3.20
33RUN <<HEREDOC
44 apk add --no-cache --upgrade ca-certificates
55
6- # Add a user/group for Ory with a stable UID + GID. Values are from nonroot from distroless
6+ # Add a user/group for nonroot with a stable UID + GID. Values are from nonroot from distroless
77 # for interoperability with other containers.
8- addgroup --system --gid 65532 ory
8+ addgroup --system --gid 65532 nonroot
99 adduser --system --uid 65532 \
10- --gecos "Ory User" \
11- --home /home/ory \
12- --ingroup ory \
10+ --gecos "nonroot User" \
11+ --home /home/nonroot \
12+ --ingroup nonroot \
1313 --shell /sbin/nologin \
14- ory
14+ nonroot
1515HEREDOC
1616
1717COPY hydra /usr/bin/hydra
1818
19- USER ory
19+ USER nonroot
2020
2121ENTRYPOINT ["hydra"]
2222CMD ["serve", "all"]
You can’t perform that action at this time.
0 commit comments