Skip to content

Commit a7e6dd5

Browse files
committed
Revert "chore: Dockerfile-alpine - Add commentary"
This reverts commit b2f202c.
1 parent 350ad6a commit a7e6dd5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.docker/Dockerfile-alpine

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ RUN <<HEREDOC
55
apk add --no-cache --upgrade ca-certificates
66

77
# Add a user/group for Ory with a stable UID + GID:
8-
# NOTE: This only appears relevant for supporting hydra as non-root, otherwise unnecessary.
98
addgroup --system --gid 500 ory
109
adduser --system --uid 500 \
1110
--gecos "Ory User" \
@@ -16,9 +15,6 @@ RUN <<HEREDOC
1615

1716
# Create the sqlite directory with ownership to that user and group:
1817
# NOTE: This is required for read/write by SQLite.
19-
# - Path may be a default value somewhere, or only explicitly provided via DSN?
20-
# - Owner/Group is only relevant to permissions allowing the hydra process to read/write to the location.
21-
# - Bind mount volumes will replace the ownership with that of the host directory, requiring correction.
2218
install --owner ory --group ory --directory /var/lib/sqlite
2319
HEREDOC
2420

0 commit comments

Comments
 (0)