fix(packages:kubectl): fix target platform

This commit is contained in:
Tine Jozelj 2020-12-24 12:07:35 +01:00
parent a36a516bbf
commit fb66e8ace0
No known key found for this signature in database
GPG key ID: 3818B74E3830D7CF

View file

@ -5,6 +5,7 @@ WORKDIR /root
RUN apk --no-cache add curl RUN apk --no-cache add curl
ARG VERSION=1.20.0 ARG VERSION=1.20.0
ARG TARGETPLATFORM
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${VERSION}/bin/${TARGETPLATFORM}/kubectl" RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${VERSION}/bin/${TARGETPLATFORM}/kubectl"
RUN chmod +x kubectl RUN chmod +x kubectl