File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ ARG PRODUCT
77ARG KUBECTL_VERSION
88ARG RELEASE
99ARG JQ_VERSION
10+ ARG YQ_VERSION
1011ARG TARGETARCH
1112ARG STACKABLE_USER_UID
1213
@@ -36,14 +37,18 @@ ENV PATH=/stackable/bin:$PATH
3637
3738# Get latest stable version from curl -L -s https://dl.k8s.io/release/stable.txt
3839RUN <<EOF
39- curl "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl" \
40+ curl --fail -L "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl" \
4041 -o /stackable/bin/kubectl
4142chmod +x /stackable/bin/kubectl
4243
43- curl "https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64" \
44+ curl --fail -L "https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64" \
4445 -o /stackable/bin/jq
4546chmod +x /stackable/bin/jq
4647
48+ curl --fail -L "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_${TARGETARCH}" \
49+ -o /stackable/bin/yq
50+ chmod +x /stackable/bin/yq
51+
4752# All files and folders owned by root group to support running as arbitrary users.
4853# This is best practice as all container users will belong to the root group (0).
4954chown -R ${STACKABLE_USER_UID}:0 /stackable
Original file line number Diff line number Diff line change 44 "kubectl_version" : "1.31.1" ,
55 "jq_version" : "1.7.1" ,
66 "stackable-base" : "1.0.0" ,
7+ "yq_version" : "4.44.3" ,
78 },
89]
You can’t perform that action at this time.
0 commit comments