Update Dockerfile
This commit is contained in:
parent
9e62422db6
commit
371dd4baa0
11
Dockerfile
11
Dockerfile
@ -1,2 +1,9 @@
|
|||||||
FROM golang:onbuild
|
FROM golang AS build-env
|
||||||
EXPOSE 8080
|
|
||||||
|
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 ./
|
||||||
|
Loading…
Reference in New Issue
Block a user