1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

chore: replace alpine by distroless

This commit is contained in:
Lucas Severo Alves 2021-12-06 14:16:26 +01:00
parent c27c5462cb
commit 8a99845d70
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.15.0 FROM gcr.io/distroless/static
ARG TARGETOS ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
COPY bin/external-secrets-${TARGETOS}-${TARGETARCH} /bin/external-secrets COPY bin/external-secrets-${TARGETOS}-${TARGETARCH} /bin/external-secrets

View file

@ -10,7 +10,7 @@ RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_
wget -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \ wget -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \
chmod +x /usr/local/bin/helm chmod +x /usr/local/bin/helm
FROM alpine:3.14.2 FROM alpine:3.15.0
RUN apk add -U --no-cache \ RUN apk add -U --no-cache \
ca-certificates \ ca-certificates \
bash \ bash \