mirror of
https://github.com/shizunge/endlessh-go.git
synced 2026-06-23 04:10:08 +00:00
set CGO_ENABLED to 0
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM golang AS build
|
||||
RUN mkdir /endlessh
|
||||
ADD . /endlessh
|
||||
WORKDIR /endlessh
|
||||
RUN CGO_ENABLED=1
|
||||
RUN export CGO_ENABLED=0
|
||||
RUN go mod tidy
|
||||
RUN go build -o endlessh .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user