aboutsummaryrefslogtreecommitdiffstats
path: root/hived/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'hived/Dockerfile')
-rw-r--r--hived/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hived/Dockerfile b/hived/Dockerfile
index 407c8ac..bfeb2e8 100644
--- a/hived/Dockerfile
+++ b/hived/Dockerfile
@@ -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 alpine:3.20
COPY --from=builder /hived/hived /hived/