mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
fix(packages:kubectl): fix target platform
This commit is contained in:
parent
a36a516bbf
commit
fb66e8ace0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue