diff options
Diffstat (limited to 'hived/Dockerfile_distroless')
-rw-r--r-- | hived/Dockerfile_distroless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hived/Dockerfile_distroless b/hived/Dockerfile_distroless index c21dd2d..77c8731 100644 --- a/hived/Dockerfile_distroless +++ b/hived/Dockerfile_distroless @@ -2,7 +2,7 @@ FROM golang:1.22-alpine3.20 as builder COPY go.* /hived/ RUN cd /hived && go mod download COPY *.go /hived/ -RUN cd /hived && go build +RUN cd /hived && CGO_ENABLED=0 go build FROM gcr.io/distroless/static-debian12 COPY --from=builder /hived/hived "/usr/bin/hived" |