Skip to content

Commit 3323cbd

Browse files
committed
enable user uuid set
1 parent 15d66ca commit 3323cbd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ RUN apk add --no-cache \
8787
intl \
8888
redis \
8989
tokenizer \
90-
&& rm -rf /var/cache/apk/* \
91-
&& apk del shadow
90+
&& rm -rf /var/cache/apk/*
9291

9392
WORKDIR /app
9493

docker/scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if [ "$PGID" -lt 33 ] || [ "$PGID" -gt 65534 ]; then
4646
exit 1
4747
fi
4848

49-
# Only modify user/group if shadow package is available (it's removed in production)
49+
# Only modify user/group if shadow package is available
5050
if command -v usermod >/dev/null 2>&1; then
5151
if [ "$(id -u www-data)" -ne "$PUID" ]; then
5252
usermod -o -u "$PUID" www-data

0 commit comments

Comments
 (0)