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

26 lines
666 B
Docker
Raw Normal View History

2020-02-13 22:41:35 +00:00
FROM quay.io/kubernetes-ingress-controller/e2e:v02132020-0e2ca1cc0 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
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" ]