Add CGO_ENABLED=1 to Dockerfile
This commit is contained in:
parent
88d068a452
commit
585e970906
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ FROM golang AS build
|
|||
RUN mkdir /endlessh
|
||||
ADD . /endlessh
|
||||
WORKDIR /endlessh
|
||||
RUN CGO_ENABLED=1
|
||||
RUN go mod tidy
|
||||
RUN go build -o endlessh .
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue