2021-03-26 00:30:30 +00:00
|
|
|
FROM alpine:3.13.3
|
2019-11-02 14:32:58 +00:00
|
|
|
|
|
|
|
WORKDIR /kind
|
|
|
|
|
|
|
|
RUN apk add --no-cache bash curl docker && \
|
2021-02-01 22:53:44 +00:00
|
|
|
curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.10.0/kind-linux-amd64 && chmod +x kind && \
|
|
|
|
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.20.2/bin/linux/amd64/kubectl && chmod +x kubectl
|
2019-11-02 14:32:58 +00:00
|
|
|
|
|
|
|
ADD entrypoint.sh entrypoint.sh
|
|
|
|
ADD patch-kubeconfig.sh patch-kubeconfig.sh
|
|
|
|
|
|
|
|
ENV HOME=/kind/config
|
|
|
|
ENV KUBECONFIG=/kind/config/.kube/kind-config-kind
|
|
|
|
|
|
|
|
VOLUME /kind/config
|
|
|
|
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|