woodpecker-helper/Dockerfile

16 lines
359 B
Docker
Raw Normal View History

2025-01-22 12:48:51 +01:00
FROM alpine:latest
2025-01-22 13:33:15 +01:00
ARG USER="user"
2025-02-03 12:34:32 +01:00
RUN \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
2025-02-03 13:52:08 +01:00
apk add --no-cache kubectl openssl gpg gpg-agent bash trivy@testing curl helm && \
2025-01-22 13:33:15 +01:00
addgroup $USER && \
adduser -G $USER -D $USER
2025-01-29 17:24:28 +01:00
COPY decrypt-secrets.sh /usr/local/bin/
2025-01-22 13:33:15 +01:00
USER $USER
2025-01-22 13:35:50 +01:00
WORKDIR /home/$USER
2025-01-22 13:33:15 +01:00