2019-09-05 11:46:53 -04:00
|
|
|
FROM quay.io/kubernetes-ingress-controller/e2e:v09052019-38b985663 AS BASE
|
2019-02-26 12:32:53 -03:00
|
|
|
|
2019-02-22 11:03:42 -03:00
|
|
|
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
|
|
|
|
|
|
|
|
|
|
RUN clean-install \
|
|
|
|
|
ca-certificates \
|
|
|
|
|
bash \
|
2019-02-26 12:32:53 -03:00
|
|
|
curl \
|
2019-02-22 11:03:42 -03:00
|
|
|
tzdata
|
|
|
|
|
|
2019-02-26 12:32:53 -03:00
|
|
|
RUN curl -Lo /usr/local/bin/kubectl \
|
2019-06-23 22:33:26 -04:00
|
|
|
https://storage.googleapis.com/kubernetes-release/release/v1.15.0/bin/linux/amd64/kubectl \
|
2019-02-26 12:32:53 -03:00
|
|
|
&& chmod +x /usr/local/bin/kubectl
|
2019-02-22 11:03:42 -03:00
|
|
|
|
2019-02-26 12:32:53 -03:00
|
|
|
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
|
2019-02-22 11:03:42 -03:00
|
|
|
|
2019-02-26 12:32:53 -03:00
|
|
|
COPY e2e.sh /e2e.sh
|
2019-04-30 09:45:58 -07:00
|
|
|
COPY cloud-generic /cloud-generic
|
|
|
|
|
COPY cluster-wide /cluster-wide
|
|
|
|
|
COPY overlay /overlay
|
2019-05-15 15:01:48 +02:00
|
|
|
COPY namespace-overlays /namespace-overlays
|
2019-04-30 09:45:58 -07:00
|
|
|
RUN sed -E -i 's|^- .*deploy/cloud-generic$|- ../cloud-generic|' /overlay/kustomization.yaml
|
2019-02-26 12:32:53 -03:00
|
|
|
COPY wait-for-nginx.sh /
|
|
|
|
|
COPY e2e.test /
|
2019-02-22 11:03:42 -03:00
|
|
|
|
|
|
|
|
CMD [ "/e2e.sh" ]
|