File tree Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM registry.access.redhat.com/ubi8/go-toolset@sha256:be796155c0908cd48375bf1f7150036bcd3ad415dfb6cae135f1cf184d61964c AS builder
1
+ FROM registry.access.redhat.com/ubi8/go-toolset:1.22 AS builder
2
2
3
3
ENV S2I_GIT_VERSION="1.5.0" \
4
4
S2I_GIT_MAJOR="1" \
@@ -11,7 +11,7 @@ COPY . .
11
11
RUN CGO_ENABLED=1 GO111MODULE=on go build -a -mod=vendor -ldflags="-s -w" -tags="strictfipsruntime exclude_graphdriver_btrfs" -o /tmp/s2i ./cmd/s2i
12
12
13
13
14
- FROM registry.access. redhat.com /ubi8@sha256:37cdac4ec130a64050d6df4e1f2ef3f53868bea55d11f623d141f139ee342bd8
14
+ FROM registry.redhat.io /ubi8/ubi-minimal:8.10
15
15
16
16
COPY --from=builder /tmp/s2i /usr/local/bin/s2i
17
17
@@ -23,7 +23,7 @@ LABEL \
23
23
name="source-to-image/source-to-image" \
24
24
description="Source-to-Image is a builder image" \
25
25
summary="Source-to-Image is a builder image" \
26
- version="1.5 .0" \
26
+ version="1.6 .0" \
27
27
vendor="Red Hat, Inc." \
28
28
com.redhat.component="source-to-image-container" \
29
29
maintainer="openshift-builds@redhat.com" \
Original file line number Diff line number Diff line change
1
+ FROM registry.access.redhat.com/ubi8/go-toolset:1.22 AS builder
2
+ ENV S2I_GIT_VERSION="1.5.0" \
3
+ S2I_GIT_MAJOR="1" \
4
+ S2I_GIT_MINOR="5"
5
+
6
+ ENV GOEXPERIMENT=strictfipsruntime
7
+
8
+ COPY . .
9
+
10
+ RUN CGO_ENABLED=1 GO111MODULE=on go build -a -mod=vendor -ldflags="-s -w" -tags="strictfipsruntime exclude_graphdriver_btrfs" -o /tmp/s2i ./cmd/s2i
11
+
12
+
13
+ FROM registry.redhat.io/ubi9/ubi-minimal:9.6
14
+
15
+ COPY --from=builder /tmp/s2i /usr/local/bin/s2i
16
+
17
+ USER 1001
18
+
19
+ ENTRYPOINT [ "/usr/local/bin/s2i" ]
20
+
21
+ LABEL \
22
+ name="source-to-image/source-to-image-rhel9" \
23
+ description="Source-to-Image is a builder image" \
24
+ summary="Source-to-Image is a builder image" \
25
+ version="1.6.0" \
26
+ vendor="Red Hat, Inc." \
27
+ com.redhat.component="source-to-image-container" \
28
+ maintainer="openshift-builds@redhat.com" \
29
+ io.k8s.description="Source-to-Image is a builder image" \
30
+ io.k8s.display-name="Source-to-Image" \
31
+ io.openshift.tags="source-to-image,s2i" \
32
+ io.openshift.maintainer.product="OpenShift Container Platform" \
33
+ io.openshift.maintainer.component="Source-to-Image"
You can’t perform that action at this time.
0 commit comments