Skip to content

Commit a956489

Browse files
committed
Use UBI8 based base image and builder image
Changes: - Use UIB8 based base imgae - Use go-toolset from UBI8 Currently comet repo exists for rhel-8 based images, so to onboard to konflux easily we'll go ahead with rehl-8 image now. When comet repo for rhel-9 is configured, we'll switch to rehl-9 based images.
1 parent 4b0e17b commit a956489

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.atom-build.yml
33
/.project
44
/.vagrant
5+
/.idea
56
cmd/s2i/debug
67
*~
78

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.redhat.io/ubi9/go-toolset:1.21.13 AS builder
1+
FROM registry.redhat.io/ubi8/go-toolset:1.21 AS builder
22

33
ENV S2I_GIT_VERSION="" \
44
S2I_GIT_MAJOR="" \
@@ -12,7 +12,7 @@ RUN CGO_ENABLED=0 go build -a -ldflags="-s -w" -o /tmp/s2i ./cmd/s2i
1212
# Runner Image
1313
#
1414

15-
FROM registry.redhat.io/ubi9/ubi-minimal:9.4
15+
FROM registry.redhat.io/ubi8/ubi-minimal:8.10
1616

1717
COPY --from=builder /tmp/s2i /usr/local/bin/s2i
1818

0 commit comments

Comments
 (0)