0.0.8
[update] 移除多余依赖
This commit is contained in:
parent
6615ce55a4
commit
ef85cdcd95
@ -29,7 +29,7 @@ COPY ./config.json /
|
|||||||
|
|
||||||
COPY --from=builder /app/xray /
|
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 &&\
|
mkdir -p /var/log/xray &&\
|
||||||
wget -O /geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat && \
|
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 && \
|
wget -O /geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat && \
|
||||||
|
|||||||
@ -4,7 +4,7 @@ if [ -f /config_info.txt ]; then
|
|||||||
else
|
else
|
||||||
if [ -z "$UUID" ]; then
|
if [ -z "$UUID" ]; then
|
||||||
echo "UUID is not set, generate random UUID "
|
echo "UUID is not set, generate random UUID "
|
||||||
UUID="$(uuidgen)"
|
UUID="$(/xray uuid)"
|
||||||
echo "UUID: $UUID"
|
echo "UUID: $UUID"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user