Skip to content

Commit d91e6c7

Browse files
Merge pull request #113 from dprince/yq
Add yq to Dockerfile.rhel-9.custom
2 parents bec56f4 + bf35c30 commit d91e6c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
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
33
ARG KUSTOMIZE_VERSION=v5.0.3
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)