Skip to content

Commit 7f5e81c

Browse files
authored
Merge pull request llm-d#56 from Jooho/fips_support
set 1 for CGO_ENABLED for FIPS support
2 parents e724bd6 + e793dfb commit 7f5e81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.konflux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COPY internal/ internal/
2121
# was called. For example, if we call make image-build in a local env which has the Apple Silicon M1 SO
2222
# the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore,
2323
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
24-
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod=mod -a -o bin/llm-d-routing-sidecar cmd/cmd.go
24+
RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -mod=mod -a -o bin/llm-d-routing-sidecar cmd/cmd.go
2525

2626
FROM registry.access.redhat.com/ubi9/ubi:latest
2727
WORKDIR /

0 commit comments

Comments
 (0)