Skip to content

Commit fe38558

Browse files
committed
Use Go toolset 1.22 image for Konflux build
1 parent 03ce71c commit fe38558

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

Dockerfile.konflux

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
# Build arguments
22
ARG SOURCE_CODE=.
33

4-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22.2@sha256:9576ac41e16b2262d2871a4064394d650d73221ceb07d1877772fbe98c6f0b6f AS golang
5-
6-
FROM registry.redhat.io/ubi8/ubi@sha256:8990388831e1b41c9a67389e4b691dae8b1283f77d5fb7263e1f4fc69c0a9d05 AS builder
7-
8-
ARG GOLANG_VERSION=1.22.2
9-
10-
RUN dnf upgrade -y && dnf install -y \
11-
gcc \
12-
make \
13-
openssl-devel \
14-
git \
15-
&& dnf clean all && rm -rf /var/cache/yum
16-
17-
# Install Go
18-
ENV PATH=/usr/local/go/bin:$PATH
19-
20-
COPY --from=golang /usr/lib/golang /usr/local/go
4+
FROM registry.access.redhat.com/ubi8/go-toolset:1.22@sha256:780ab5f3874a6e2b1e04bb3719e614e835af3f8ab150922d6e84c2f9fd2bdb27 AS builder
215

226
WORKDIR /workspace
237

0 commit comments

Comments
 (0)