From 0fa245528b73f2b2b0236da453ac2ea9b2699d8b Mon Sep 17 00:00:00 2001 From: David Simansky Date: Mon, 1 Aug 2022 14:37:09 +0200 Subject: [PATCH] Bump Golang version to 1.18 (#1113) --- openshift/ci-operator/build-image/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openshift/ci-operator/build-image/Dockerfile b/openshift/ci-operator/build-image/Dockerfile index bf682f9507..2d49934dea 100644 --- a/openshift/ci-operator/build-image/Dockerfile +++ b/openshift/ci-operator/build-image/Dockerfile @@ -13,14 +13,15 @@ # limitations under the License. # Dockerfile to bootstrap build and test in openshift-ci -FROM registry.ci.openshift.org/openshift/release:golang-1.17 +FROM registry.ci.openshift.org/openshift/release:golang-1.18 # Add kubernetes repository ADD openshift/ci-operator/build-image/kubernetes.repo /etc/yum.repos.d/ -RUN yum install -y kubectl ansible httpd-tools +RUN yum install -y kubectl httpd-tools -RUN GO111MODULE=on go get github.com/mikefarah/yq/v3 +RUN wget -q https://github.com/mikefarah/yq/releases/download/3.4.1/yq_linux_amd64 -O /usr/bin/yq &&\ + chmod +x /usr/bin/yq # Allow runtime users to add entries to /etc/passwd RUN chmod g+rw /etc/passwd