mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(docker/rootless): missing bash under alpine
This commit is contained in:
@@ -18,6 +18,7 @@ ENV GID=${GID}
|
||||
|
||||
# Install runtime dependencies and create user with specific UID/GID
|
||||
RUN apk add --no-cache dumb-init && \
|
||||
apk add --no-cache bash && \
|
||||
# Alpine uses addgroup/adduser (from busybox) instead of groupadd/useradd
|
||||
addgroup -g ${GID} ${USER} && \
|
||||
adduser -u ${UID} -G ${USER} -s /bin/sh -D -h /home/${USER} ${USER}
|
||||
|
||||
Reference in New Issue
Block a user