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

27 lines
791 B
Docker
Raw Normal View History

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
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 \
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-26 15:32:53 +00:00
COPY --from=BASE /go/bin/ginkgo /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" ]