first commit
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user