Skip to content

Commit

Permalink
Bump Golang version to 1.18 (knative#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk authored Aug 1, 2022
1 parent b114624 commit 0fa2455
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0fa2455

Please sign in to comment.