2019-12-27 06:37:14 +03:00
|
|
|
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
|
|
|
|
|
|
|
|
FROM debian
|
|
|
|
COPY --from=build-env /go/bin/pingtunnel .
|
|
|
|
WORKDIR ./
|