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

25 lines
647 B
Docker
Raw Normal View History

2020-01-05 01:18:29 +00:00
FROM quay.io/kubernetes-ingress-controller/e2e:v01042020-8fb2695d5 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 \
openssl
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 cloud-generic /cloud-generic
COPY cluster-wide /cluster-wide
COPY overlay /overlay
COPY namespace-overlays /namespace-overlays
RUN sed -E -i 's|^- .*deploy/cloud-generic$|- ../cloud-generic|' /overlay/kustomization.yaml
2019-02-26 15:32:53 +00:00
COPY wait-for-nginx.sh /
COPY e2e.test /
CMD [ "/e2e.sh" ]