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

25 lines
649 B
Docker
Raw Normal View History

FROM quay.io/kubernetes-ingress-controller/e2e:v04172020-6e8c68d88 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/
COPY --from=BASE /usr/local/bin/cfssl /usr/local/bin/
COPY --from=BASE /usr/local/bin/cfssljson /usr/local/bin/
COPY . /
CMD [ "/e2e.sh" ]