2 Commits

Author SHA1 Message Date
Shizun Ge
f1d4f43fc7 set CGO_ENABLED to 0 2023-06-25 22:58:30 -07:00
Shizun Ge
585e970906 Add CGO_ENABLED=1 to Dockerfile 2023-06-25 22:55:09 -07:00

View File

@@ -3,6 +3,7 @@ FROM golang AS build
RUN mkdir /endlessh
ADD . /endlessh
WORKDIR /endlessh
RUN export CGO_ENABLED=0
RUN go mod tidy
RUN go build -o endlessh .