Skip to content

Commit 6f5c601

Browse files
committed
Add yq to Dockerfile.rhel-9.custom
Also bumps kustomize version
1 parent bec56f4 commit 6f5c601

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

images/build-root/Dockerfile.rhel-9.custom

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.20-openshift-4.14
22
ARG SDK_VERSION=v1.31.0
3-
ARG KUSTOMIZE_VERSION=v5.0.3
3+
ARG KUSTOMIZE_VERSION=v5.5.0
4+
ARG YQ_VERSION=v4.44.5
45
USER root
56
RUN yum install -y gcc git jq make python python-pip skopeo && yum clean all && rm -rf /var/cache/dnf/*
67
RUN curl -s -L "https://github.com/operator-framework/operator-sdk/releases/download/${SDK_VERSION}/operator-sdk_linux_amd64" -o operator-sdk
@@ -10,3 +11,7 @@ RUN /usr/local/bin/operator-sdk version
1011
RUN curl -s -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar xvzf - -C /usr/local/bin kustomize
1112
RUN chmod +x /usr/local/bin/kustomize
1213
RUN /usr/local/bin/kustomize version
14+
15+
RUN curl -s -L https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -o /usr/local/bin/yq
16+
RUN chmod +x /usr/local/bin/yq
17+
RUN /usr/local/bin/yq --version

0 commit comments

Comments
 (0)