Skip to content

Commit b84e919

Browse files
committed
UPSTREAM <carry>: OCPBUGS-24653: Ensure FIPS compliance for controller image
- Replaced the base image with a non-UBI variant. - Added the 'strictfipsruntime' tag to the controller binary.
1 parent 0ae6e1a commit b84e919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.openshift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ COPY pkg pkg
1515
COPY webhooks webhooks
1616

1717
# Build the controller
18-
RUN go build -mod=vendor -o controller main.go
18+
RUN go build -tags strictfipsruntime -mod=vendor -o controller main.go
1919

20-
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
20+
FROM registry.redhat.io/rhel8-6-els/rhel:latest
2121
COPY --from=builder /opt/app-root/src/controller /usr/bin/controller
2222
ENTRYPOINT ["/usr/bin/controller"]

0 commit comments

Comments
 (0)