Skip to content

Commit

Permalink
set CGO_ENABLED to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
shizunge committed Jun 26, 2023
1 parent 585e970 commit f1d4f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

Expand Down

0 comments on commit f1d4f43

Please sign in to comment.