Skip to content

Commit 213b9a4

Browse files
authored
Merge pull request #1398 from splunk/CSPL_3085
CSPL_3058 - Use sha instead of tag for docker build
2 parents 89c4da4 + cfd03c6 commit 213b9a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
2222

2323
# Use distroless as minimal base image to package the manager binary
2424
# Refer to https://github.com/GoogleContainerTools/distroless for more details
25-
FROM registry.access.redhat.com/ubi8/ubi:8.10
25+
# This sha relates to ubi version 8.10-1132, which is tagged as 8.10 and latest as of Nov 15, 2024
26+
FROM registry.access.redhat.com/ubi8/ubi@sha256:8990388831e1b41c9a67389e4b691dae8b1283f77d5fb7263e1f4fc69c0a9d05
2627
ENV OPERATOR=/manager \
2728
USER_UID=1001 \
2829
USER_NAME=nonroot

0 commit comments

Comments
 (0)