pingtunnel/Dockerfile

11 lines
304 B
Docker
Raw Normal View History

2019-12-27 06:37:14 +03:00
FROM golang AS build-env
2021-03-18 06:22:13 +03:00
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
2019-12-27 06:37:14 +03:00
FROM debian
COPY --from=build-env /go/bin/pingtunnel .
2020-02-10 08:14:11 +03:00
COPY GeoLite2-Country.mmdb .
2019-12-27 06:37:14 +03:00
WORKDIR ./