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

29 lines
678 B
Text
Raw Normal View History

2020-03-07 17:42:56 -03:00
FROM quay.io/kubernetes-ingress-controller/e2e:v03062020-7b6e2dd31 AS BASE
2019-02-26 12:32:53 -03:00
2020-01-04 20:29:49 -03:00
FROM alpine:3.11
2020-01-04 20:29:49 -03:00
RUN apk add -U --no-cache \
ca-certificates \
bash \
2019-02-26 12:32:53 -03:00
curl \
2020-01-04 20:29:49 -03:00
tzdata \
libc6-compat \
2020-01-04 20:29:49 -03: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 12:32:53 -03:00
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
2020-01-04 20:29:49 -03:00
COPY --from=BASE /usr/local/bin/kubectl /usr/local/bin/
2019-02-26 12:32:53 -03:00
COPY e2e.sh /e2e.sh
COPY namespace-overlays /namespace-overlays
2019-02-26 12:32:53 -03:00
COPY wait-for-nginx.sh /
COPY e2e.test /
COPY charts /charts
CMD [ "/e2e.sh" ]