mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-02 07:25:19 -05:00
unified import path
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
FROM golang:latest
|
||||
|
||||
RUN go get -u github.com/v2ray/v2ray-core \
|
||||
RUN go get -u v2ray.com/core/... \
|
||||
&& rm -f $GOPATH/bin/build \
|
||||
&& go install github.com/v2ray/v2ray-core/tools/build \
|
||||
&& go install v2ray.com/core/tools/build \
|
||||
&& build \
|
||||
&& mv bin/v2ray-custom-linux-64/v2ray bin \
|
||||
&& rm -rf pkg src
|
||||
|
||||
@@ -11,11 +11,11 @@ echo "Generated client ID: $ID"
|
||||
|
||||
cat <<EOF > server-cfg.json
|
||||
{
|
||||
"port": $PORT,
|
||||
"log" : {
|
||||
"access": "/go/access.log"
|
||||
},
|
||||
"inbound": {
|
||||
"port": $PORT,
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"clients": [
|
||||
|
||||
Reference in New Issue
Block a user