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 . |
FROM golang AS build-env |
code
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 . |
FROM golang AS build-env |
评论
发表评论