Skip to content

Commit 7d0fbf3

Browse files
author
Per Goncalves da Silva
committed
update Dockerfile to use go v1.22.2
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 0a9ca87 commit 7d0fbf3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ FROM quay.io/fedora/fedora:37-x86_64 as builder
22
LABEL stage=builder
33
WORKDIR /build
44

5-
# install dependencies and go 1.21
5+
# install dependencies and go 1.22
66

77
# copy just enough of the git repo to parse HEAD, used to record version in OLM binaries
88
RUN dnf update -y && dnf install -y bash make git mercurial jq wget && dnf upgrade -y
9-
RUN curl -sSL https://go.dev/dl/go1.21.9.linux-amd64.tar.gz | tar -xzf - -C /usr/local
9+
RUN curl -sSL https://go.dev/dl/go1.22.2.linux-amd64.tar.gz | tar -xzf - -C /usr/local
1010
ENV PATH=/usr/local/go/bin:$PATH
1111
COPY .git/HEAD .git/HEAD
1212
COPY .git/refs/heads/. .git/refs/heads

Diff for: go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/operator-framework/operator-lifecycle-manager
22

3-
go 1.22
3+
go 1.22.0
4+
5+
toolchain go1.22.2
46

57
require (
68
github.com/blang/semver/v4 v4.0.0

0 commit comments

Comments
 (0)