Browse Source

chore: replace alpine by distroless

Lucas Severo Alves 4 years ago
parent
commit
8a99845d70
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      e2e/Dockerfile

+ 1 - 1
Dockerfile

@@ -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

+ 1 - 1
e2e/Dockerfile

@@ -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 \