add trivy and curl
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user