ingress-nginx-helm/test/e2e-image/Dockerfile

29 lines
678 B
Docker
Raw Normal View History

2020-04-14 18:10:32 +00:00
FROM quay.io/kubernetes-ingress-controller/e2e:v04142020-0257068b9 AS BASE
2019-02-26 15:32:53 +00:00
2020-01-04 23:29:49 +00:00
FROM alpine:3.11
2020-01-04 23:29:49 +00:00
RUN apk add -U --no-cache \
ca-certificates \
bash \
2019-02-26 15:32:53 +00:00
curl \
2020-01-04 23:29:49 +00:00
tzdata \
libc6-compat \
2020-01-04 23:29:49 +00:00
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
2019-02-26 15:32:53 +00:00
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
2020-01-04 23:29:49 +00:00
COPY --from=BASE /usr/local/bin/kubectl /usr/local/bin/
2019-02-26 15:32:53 +00:00
COPY e2e.sh /e2e.sh
COPY namespace-overlays /namespace-overlays
2019-02-26 15:32:53 +00:00
COPY wait-for-nginx.sh /
COPY e2e.test /
COPY charts /charts
CMD [ "/e2e.sh" ]