add trivy and curl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2025-02-03 12:34:32 +01:00
parent b6904e4ed2
commit c418a6ce4b

View File

@ -2,7 +2,9 @@ FROM alpine:latest
ARG USER="user"
RUN apk add --no-cache kubectl gpg gpg-agent bash && \
RUN \
echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk add --no-cache kubectl gpg gpg-agent bash trivy@testing curl && \
addgroup $USER && \
adduser -G $USER -D $USER
@ -11,6 +13,3 @@ COPY decrypt-secrets.sh /usr/local/bin/
USER $USER
WORKDIR /home/$USER
RUN gpg -k