diff --git a/packages/Dockerfile.kubectl b/packages/Dockerfile.kubectl index a1f9e66..1785f42 100644 --- a/packages/Dockerfile.kubectl +++ b/packages/Dockerfile.kubectl @@ -5,6 +5,7 @@ WORKDIR /root RUN apk --no-cache add curl ARG VERSION=1.20.0 +ARG TARGETPLATFORM RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${VERSION}/bin/${TARGETPLATFORM}/kubectl" RUN chmod +x kubectl