Skip to content

Commit e6d6b49

Browse files
author
Tyler Pate
committed
use ubi/go-toolset for builder phase, update runtime iamge to latest ubi9-minimal
1 parent 5377254 commit e6d6b49

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM quay.io/app-sre/golang:1.18.5 AS builder
2-
WORKDIR /build
1+
FROM registry.access.redhat.com/ubi8/go-toolset:1.21.13-1.1727869850 as builder
2+
USER 0
3+
WORKDIR /workspace
34
COPY . .
45
RUN make test build
56

6-
FROM registry.access.redhat.com/ubi9-minimal:9.4
7-
COPY --from=builder /build/git-partition-sync-consumer /bin/git-partition-sync-consumer
7+
FROM registry.access.redhat.com/ubi9-minimal:9.4-1227.1726694542
8+
COPY --from=builder /workspace/git-partition-sync-consumer /bin/git-partition-sync-consumer
89
RUN microdnf update -y && microdnf install -y git
910

1011
ENTRYPOINT [ "/bin/git-partition-sync-consumer" ]

0 commit comments

Comments
 (0)