Skip to content

Commit 105552e

Browse files
Merge pull request #21 from alebedev87/fips-compliance
UPSTREAM <carry>: OCPBUGS-24653: Ensure FIPS compliance for controller image
2 parents 0ae6e1a + b84e919 commit 105552e

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)