We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc34f1d commit 5688183Copy full SHA for 5688183
tools/Dockerfile
@@ -6,6 +6,7 @@ ARG PRODUCT
6
ARG KUBECTL_VERSION
7
ARG RELEASE
8
ARG JQ_VERSION
9
+ARG TARGETARCH
10
11
LABEL name="Stackable Tools" \
12
maintainer="[email protected]" \
@@ -33,7 +34,7 @@ WORKDIR /stackable/bin
33
34
ENV PATH=/stackable/bin:$PATH
35
36
# Get latest stable version from curl -L -s https://dl.k8s.io/release/stable.txt
-RUN curl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
37
+RUN curl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl \
38
-o /stackable/bin/kubectl && chmod +x /stackable/bin/kubectl
39
40
RUN curl -L https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 \
0 commit comments