Skip to content

Commit 5436acf

Browse files
authored
Merge pull request opendatahub-io#143 from liangwen12year/dockerfile-konflux-fix
fix: align Dockerfile.konflux with upstream (add FIPS compliance)
2 parents a35bde2 + 40eafc9 commit 5436acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maas-api/Dockerfile.konflux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN go mod download
99
COPY . .
1010

1111
USER root
12-
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o maas-api ./cmd/
12+
RUN CGO_ENABLED=1 GOEXPERIMENT=strictfipsruntime GOOS=linux go build -trimpath -ldflags="-s -w" -o maas-api ./cmd/
1313

1414
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:7c5495d5fad59aaee12abc3cbbd2b283818ee1e814b00dbc7f25bf2d14fa4f0c
1515

@@ -38,4 +38,4 @@ LABEL com.redhat.component="odh-maas-api-rhel9" \
3838
io.openshift.expose-services="" \
3939
io.k8s.display-name="odh-maas-api" \
4040
io.k8s.description="odh-maas-api" \
41-
com.redhat.license_terms="https://www.redhat.com/licenses/Red_Hat_Standard_EULA_20191108.pdf"
41+
com.redhat.license_terms="https://www.redhat.com/licenses/Red_Hat_Standard_EULA_20191108.pdf"

0 commit comments

Comments
 (0)