Skip to content

Commit 8057a02

Browse files
committed
fix: add homedir to outblocks user
1 parent c88a7b2 commit 8057a02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockerfiles/Dockerfile.alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ARG GOSU_VERSION=1.14
77

88
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
99
RUN apk add --no-cache curl shadow && \
10-
useradd -u 1000 -U -d /app -s /bin/false outblocks && \
10+
useradd -u 1000 -U -d /home/outblocks -s /bin/false outblocks && \
11+
mkdir /app && chown outblocks:outblocks /app && \
1112
curl -sL https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64 -o /usr/local/bin/gosu && chmod +x /usr/local/bin/gosu && \
1213
curl -sL https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz | tar -xz --strip-components 1 --directory /usr/local/bin && \
1314
curl -sL https://github.com/mozilla/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux -o /usr/local/bin/sops && chmod a+x /usr/local/bin/sops && \

0 commit comments

Comments
 (0)