From 3103bccdd3b0f9aba8c9264e428f0bd764bf093c Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Tue, 31 May 2022 17:54:07 +0200 Subject: [PATCH] feat: added `v` to the KUBE_VERSION argument --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e86491..9c0b31a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ FROM alpine:3.10.2 MAINTAINER Serhiy Mitrovtsiy -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/*