ingress-nginx-helm/test/e2e-image/Dockerfile
k8s-infra-cherrypick-robot 1507bd0609
Images: Use latest Alpine 3.20 everywhere. (#11946)
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
2024-09-08 05:33:20 +01:00

23 lines
498 B
Docker

ARG E2E_BASE_IMAGE
FROM ${E2E_BASE_IMAGE} AS BASE
FROM alpine:3.20
RUN apk update \
&& apk upgrade && apk add -U --no-cache \
ca-certificates \
bash \
tzdata \
libc6-compat \
openssl \
sqlite-dev
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
COPY --from=BASE /usr/local/bin/helm /usr/local/bin/
COPY --from=BASE /usr/local/bin/kubectl /usr/local/bin/
COPY --from=BASE /usr/bin/cfssl /usr/local/bin/
COPY --from=BASE /usr/bin/cfssljson /usr/local/bin/
COPY . /
CMD [ "/e2e.sh" ]