set CGO_ENABLED to 0
This commit is contained in:
parent
585e970906
commit
f1d4f43fc7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 .
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue