2019-12-18 12:32:20 +00:00
|
|
|
FROM quay.io/kubernetes-ingress-controller/e2e:v12182019-870be3bcd AS BASE
|
2019-02-26 15:32:53 +00:00
|
|
|
|
2019-02-22 14:03:42 +00:00
|
|
|
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
|
|
|
|
|
|
|
|
RUN clean-install \
|
|
|
|
ca-certificates \
|
|
|
|
bash \
|
2019-02-26 15:32:53 +00:00
|
|
|
curl \
|
2019-02-22 14:03:42 +00:00
|
|
|
tzdata
|
|
|
|
|
2019-02-26 15:32:53 +00:00
|
|
|
RUN curl -Lo /usr/local/bin/kubectl \
|
2019-06-24 02:33:26 +00:00
|
|
|
https://storage.googleapis.com/kubernetes-release/release/v1.15.0/bin/linux/amd64/kubectl \
|
2019-02-26 15:32:53 +00:00
|
|
|
&& chmod +x /usr/local/bin/kubectl
|
2019-02-22 14:03:42 +00:00
|
|
|
|
2019-02-26 15:32:53 +00:00
|
|
|
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
|
2019-02-22 14:03:42 +00:00
|
|
|
|
2019-02-26 15:32:53 +00:00
|
|
|
COPY e2e.sh /e2e.sh
|
2019-04-30 16:45:58 +00:00
|
|
|
COPY cloud-generic /cloud-generic
|
|
|
|
COPY cluster-wide /cluster-wide
|
|
|
|
COPY overlay /overlay
|
2019-05-15 13:01:48 +00:00
|
|
|
COPY namespace-overlays /namespace-overlays
|
2019-04-30 16:45:58 +00:00
|
|
|
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 /
|
2019-02-22 14:03:42 +00:00
|
|
|
|
|
|
|
CMD [ "/e2e.sh" ]
|