Skip to content

Commit 6799bcc

Browse files
Merge pull request #1172 from sayan-biswas/use-ubi8-image
Use UBI8 based base image and builder image
2 parents fa3ca57 + f68cc16 commit 6799bcc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1
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

+2-2
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)