24 lines
649 B
Docker
24 lines
649 B
Docker
FROM quay.io/kubernetes-ingress-controller/e2e:v04212020-5d67794f4 AS BASE
|
|
|
|
FROM alpine:3.11
|
|
|
|
RUN apk add -U --no-cache \
|
|
ca-certificates \
|
|
bash \
|
|
curl \
|
|
tzdata \
|
|
libc6-compat \
|
|
openssl
|
|
|
|
RUN curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash \
|
|
&& helm repo add stable https://kubernetes-charts.storage.googleapis.com \
|
|
&& helm repo update
|
|
|
|
COPY --from=BASE /go/bin/ginkgo /usr/local/bin/
|
|
COPY --from=BASE /usr/local/bin/kubectl /usr/local/bin/
|
|
COPY --from=BASE /usr/local/bin/cfssl /usr/local/bin/
|
|
COPY --from=BASE /usr/local/bin/cfssljson /usr/local/bin/
|
|
|
|
COPY . /
|
|
|
|
CMD [ "/e2e.sh" ]
|