Skip to content

Commit 785bc0e

Browse files
Disable CGO for kindExport
1 parent 73c5cea commit 785bc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN go mod download
1414
COPY . .
1515

1616
# Build the Go application
17-
RUN go build -o kindExport
17+
RUN CGO_ENABLED=0 go build -o kindExport
1818

1919
# Use a minimal base image for the final image
2020
FROM alpine:latest

0 commit comments

Comments
 (0)