Update Dockerfile

This commit is contained in:
zhao xin authored and GitHub committed 2021-03-18 11:22:13 +08:00
1 parent 9e8e9eb535
commit 41ccdf6d7f
1 file changed
+3 -3
+3 -3
View File
@@ -1,8 +1,8 @@
FROM golang AS build-env
RUN go get -u github.com/esrrhs/pingtunnel
RUN go get -u github.com/esrrhs/pingtunnel/...
RUN go install github.com/esrrhs/pingtunnel
RUN GO111MODULE=off go get -u github.com/esrrhs/pingtunnel
RUN GO111MODULE=off go get -u github.com/esrrhs/pingtunnel/...
RUN GO111MODULE=off go install github.com/esrrhs/pingtunnel
FROM debian
COPY --from=build-env /go/bin/pingtunnel .