1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-11 17:18:09 +02:00

Don't force password change when creating user in alpine images (#4680)

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
Patrick Schratz 2025-01-08 21:16:59 +01:00 committed by GitHub
parent 1f53da1a00
commit affc5eb8c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
FROM docker.io/alpine:3.21
RUN apk add -U --no-cache ca-certificates && \
adduser -u 1000 -g 1000 woodpecker && \
adduser -u 1000 -g 1000 woodpecker -D && \
mkdir -p /etc/woodpecker && \
chown -R woodpecker:woodpecker /etc/woodpecker

View File

@ -12,7 +12,7 @@ FROM docker.io/alpine:3.21
WORKDIR /woodpecker
RUN apk add -U --no-cache ca-certificates && \
adduser -u 1000 -g 1000 woodpecker
adduser -u 1000 -g 1000 -D woodpecker
ENV GODEBUG=netdns=go
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true

View File

@ -2,7 +2,7 @@ FROM docker.io/alpine:3.21
ARG TARGETOS TARGETARCH
RUN apk add -U --no-cache ca-certificates && \
adduser -u 1000 -g 1000 woodpecker && \
adduser -u 1000 -g 1000 woodpecker -D && \
mkdir -p /var/lib/woodpecker && \
chown -R woodpecker:woodpecker /var/lib/woodpecker