Update Dockerfile
This commit is contained in:
parent
9e8e9eb535
commit
41ccdf6d7f
@ -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 .
|
||||||
|
Loading…
Reference in New Issue
Block a user