Skip to content

Commit

Permalink
updating to go 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Adam D. Cornett <adc@redhat.com>
  • Loading branch information
acornett21 committed May 8, 2024
1 parent 53ba0b7 commit 27ba8c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG release_tag=0.0.0
ARG ARCH=amd64
ARG OS=linux

FROM docker.io/golang:1.21 AS builder
FROM docker.io/golang:1.22 AS builder
ARG quay_expiration
ARG release_tag
ARG ARCH
Expand Down
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Vagrant.configure("2") do |config|
containers-common \
openscap-containers
curl -L https://go.dev/dl/go1.21.3.linux-amd64.tar.gz --output go1.21.3.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz
rm go1.21.3.linux-amd64.tar.gz
curl -L https://go.dev/dl/go1.22.3.linux-amd64.tar.gz --output go1.22.3.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
rm go1.22.3.linux-amd64.tar.gz
curl -L https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz --output oc.tar.gz
tar -C /usr/local/bin -xzf oc.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/redhat-openshift-ecosystem/openshift-preflight

go 1.21
go 1.22

require (
github.com/blang/semver v3.5.1+incompatible
Expand Down

0 comments on commit 27ba8c9

Please sign in to comment.