Skip to content

Commit 03df083

Browse files
committed
Use ubi-minimal for InstaScale runtime image
ubi-micro doesn't contain the usual CA bundles, and since golang relies on those for TLS, you can't do TLS in ubi-micro. More context can be found at https://project-codeflare.slack.com/archives/C04N7LTP2G5/p1687877553753699 and at https://serverfault.com/questions/1126941/redhat-ubi8-micro-container-without-trusted-root-ca-certificates Signed-off-by: Anish Asthana <[email protected]>
1 parent 74b821a commit 03df083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY controllers/ controllers/
1717
USER root
1818
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
1919

20-
FROM registry.access.redhat.com/ubi8/ubi-micro:8.7
20+
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7
2121
WORKDIR /
2222
COPY --from=builder /workspace/manager .
2323
USER 65532:65532

0 commit comments

Comments
 (0)