1
0

first commit

This commit is contained in:
2022-12-03 20:29:21 -08:00
commit 2034d92090
3 changed files with 60 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM alpine:3.17
ARG OS
ARG ARCH
ARG KUBERNETES_RELEASE
RUN apk --no-cache add --update curl ca-certificates bash
RUN curl -Lo /usr/local/bin/kubectl \
https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_RELEASE}/bin/${OS}/${ARCH}/kubectl
RUN chmod +x /usr/local/bin/kubectl
COPY kubectl-setup /bin/
RUN chmod +x /bin/kubectl-setup
CMD [ "/bin/kubectl-setup" ]
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]