ingress-nginx-helm/test/e2e-image/Dockerfile
2020-02-16 11:58:37 -03:00

26 lines
657 B
Docker

FROM quay.io/kubernetes-ingress-controller/e2e:v02132020-0e2ca1cc0 AS BASE
FROM alpine:3.11
RUN apk add -U --no-cache \
ca-certificates \
bash \
curl \
tzdata \
libc6-compat \
openssl
RUN curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash \
&& helm repo add stable https://kubernetes-charts.storage.googleapis.com \
&& helm repo update
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
COPY --from=BASE /usr/local/bin/kubectl /usr/local/bin/
COPY e2e.sh /e2e.sh
COPY namespace-overlays /namespace-overlays
COPY wait-for-nginx.sh /
COPY e2e.test /
CMD [ "/e2e.sh" ]