You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.konflux
+1-17Lines changed: 1 addition & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,7 @@
1
1
# Build arguments
2
2
ARG SOURCE_CODE=.
3
3
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
0 commit comments