feat: added v to the KUBE_VERSION argument
This commit is contained in:
parent
2d91cef8ad
commit
3103bccdd3
@ -1,13 +1,13 @@
|
||||
FROM alpine:3.10.2
|
||||
MAINTAINER Serhiy Mitrovtsiy <mitrovtsiy@ukr.net>
|
||||
|
||||
ARG KUBE_VERSION="1.24.0"
|
||||
ARG KUBE_VERSION="v1.24.0"
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh && \
|
||||
apk add --no-cache --update openssl curl ca-certificates && \
|
||||
curl -L https://storage.googleapis.com/kubernetes-release/release/v$KUBE_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
|
||||
curl -L https://storage.googleapis.com/kubernetes-release/release/$KUBE_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
|
||||
chmod +x /usr/local/bin/kubectl && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user