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:
parent
1f53da1a00
commit
affc5eb8c6
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user