Update Dockerfile
This commit is contained in:
1 parent
9e62422db6
commit
371dd4baa0
1 file changed
+9
-2
+9
-2
@@ -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 ./
|
||||||
Reference in new issue
Block a user