mirror of
https://github.com/luzifer-docker/kubectl.git
synced 2024-09-19 00:12:58 +00:00
Initial version
This commit is contained in:
commit
7e348b91ac
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM alpine
|
||||
|
||||
ARG KUBECTL_VERSION=v1.26.0
|
||||
|
||||
RUN set -ex \
|
||||
&& apk --no-cache add \
|
||||
curl \
|
||||
&& curl -sSfL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
|
||||
&& chmod 0755 /usr/local/bin/kubectl
|
||||
|
Loading…
Reference in New Issue
Block a user