File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
# This is for CI test and should build on x86_64 environment
2
- FROM registry.access.redhat.com/ubi9/ubi:9.4-1214.1729773476 as base
2
+
3
+ FROM registry.access.redhat.com/ubi9/ubi:9.4-947 as base
3
4
4
5
# ## Pre-install dependencies
5
6
# These packages will end up in the final image
@@ -9,13 +10,17 @@ RUN yum --assumeyes install \
9
10
&& yum clean all;
10
11
11
12
# ## Build backplane-cli
12
- FROM registry.access.redhat.com/ubi9/ubi:9.4-1214.1729773476 as bp-cli-builder
13
+ FROM registry.access.redhat.com/ubi9/ubi:9.4-947 as bp-cli-builder
13
14
14
15
RUN yum install --assumeyes \
15
16
make \
16
17
git \
17
18
go-toolset
18
19
20
+ # This is a hack to install go1.22 version until ubi9 supports golang 1.22
21
+ RUN go install golang.org/dl/go1.22.7@latest
22
+ RUN go env -w GOTOOLCHAIN=go1.22.7+auto
23
+
19
24
ENV GOOS=linux GO111MODULE=on GOPROXY=https://proxy.golang.org
20
25
ENV GOBIN=/gobin GOPATH=/usr/src/go CGO_ENABLED=0
21
26
ENV PATH=/usr/local/go/bin/:${PATH}
@@ -33,7 +38,7 @@ RUN cp ./ocm-backplane /out
33
38
RUN chmod -R +x /out
34
39
35
40
# ## Build dependencies
36
- FROM registry.access.redhat.com/ubi9/ubi:9.4-1214.1729773476 as dep-builder
41
+ FROM registry.access.redhat.com/ubi9/ubi:9.4-947 as dep-builder
37
42
38
43
RUN yum install --assumeyes \
39
44
jq \
Original file line number Diff line number Diff line change 1
1
module github.com/openshift/backplane-cli
2
2
3
- go 1.21
3
+ go 1.22.7
4
4
5
5
require (
6
6
github.com/Masterminds/semver v1.5.0
You can’t perform that action at this time.
0 commit comments