Update Dockerfile
This commit is contained in:
1 parent
9e8e9eb535
commit
41ccdf6d7f
1 file changed
+3
-3
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
FROM golang AS build-env
|
FROM golang AS build-env
|
||||||
|
|
||||||
RUN go get -u github.com/esrrhs/pingtunnel
|
RUN GO111MODULE=off go get -u github.com/esrrhs/pingtunnel
|
||||||
RUN go get -u github.com/esrrhs/pingtunnel/...
|
RUN GO111MODULE=off go get -u github.com/esrrhs/pingtunnel/...
|
||||||
RUN go install github.com/esrrhs/pingtunnel
|
RUN GO111MODULE=off go install github.com/esrrhs/pingtunnel
|
||||||
|
|
||||||
FROM debian
|
FROM debian
|
||||||
COPY --from=build-env /go/bin/pingtunnel .
|
COPY --from=build-env /go/bin/pingtunnel .
|
||||||
|
|||||||
Reference in new issue
Block a user