1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-17 17:36:08 -04:00
v2fly/tools/docker/Dockerfile
kxjhlele dd46442735 Update Dockerfile
修改为直接使用官方构建的 golang
2016-01-26 16:25:16 +08:00

11 lines
292 B
Docker

FROM golang:latest
RUN go get -u github.com/v2ray/v2ray-core
RUN rm -f $GOPATH/bin/build
RUN go install github.com/v2ray/v2ray-core/tools/build
RUN $GOPATH/bin/build
EXPOSE 27183
ADD server-cfg.json /go/server-cfg.json
CMD /go/bin/v2ray-custom-linux-64/v2ray --config="/go/server-cfg.json"