Skip to content

Commit

Permalink
Merge pull request #1172 from sayan-biswas/use-ubi8-image
Browse files Browse the repository at this point in the history
Use UBI8 based base image and builder image
  • Loading branch information
openshift-merge-bot[bot] authored Sep 29, 2024
2 parents fa3ca57 + f68cc16 commit 6799bcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.atom-build.yml
/.project
/.vagrant
/.idea
cmd/s2i/debug
*~

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.redhat.io/ubi9/go-toolset:1.21.13 AS builder
FROM registry.redhat.io/ubi8/go-toolset:1.21 AS builder

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

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

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

Expand Down

0 comments on commit 6799bcc

Please sign in to comment.