diff --git a/reality/Dockerfile b/reality/Dockerfile index 12961ac..2218f6c 100644 --- a/reality/Dockerfile +++ b/reality/Dockerfile @@ -29,7 +29,7 @@ COPY ./config.json / COPY --from=builder /app/xray / -RUN apk add --no-cache tzdata ca-certificates util-linux jq && \ +RUN apk add --no-cache tzdata ca-certificates jq && \ mkdir -p /var/log/xray &&\ wget -O /geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat && \ wget -O /geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat && \ diff --git a/reality/entrypoint.sh b/reality/entrypoint.sh index 84f4dbe..fc3cea4 100644 --- a/reality/entrypoint.sh +++ b/reality/entrypoint.sh @@ -4,7 +4,7 @@ if [ -f /config_info.txt ]; then else if [ -z "$UUID" ]; then echo "UUID is not set, generate random UUID " - UUID="$(uuidgen)" + UUID="$(/xray uuid)" echo "UUID: $UUID" fi