Skip to content

Commit e793dfb

Browse files
committed
set 1 for CGO_ENABLED for FIPS support
Signed-off-by: Jooho Lee <jlee@redhat.com>
1 parent e724bd6 commit e793dfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)