mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update Dockerfile
This commit is contained in:
parent
6d9b1ee4bb
commit
f857cac91b
@ -17,8 +17,8 @@ RUN set -ex \
|
||||
&& chmod +x /root/v2ray.sh \
|
||||
&& /root/v2ray.sh \
|
||||
&& rm -fv /root/v2ray.sh \
|
||||
&& wget -O /usr/bin/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/bin/geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
|
||||
&& wget -O /usr/bin/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/bin/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||
|
||||
VOLUME /etc/v2ray
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
@ -18,8 +18,8 @@ RUN set -ex \
|
||||
&& chmod +x /root/v2ray.sh \
|
||||
&& /root/v2ray.sh "${TARGETPLATFORM}" \
|
||||
&& rm -fv /root/v2ray.sh \
|
||||
&& wget -O /usr/bin/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/bin/geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
|
||||
&& wget -O /usr/bin/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/bin/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||
|
||||
VOLUME /etc/v2ray
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
@ -7,7 +7,7 @@
|
||||
# Copyright (C) 2020 Teddysun <i@teddysun.com>
|
||||
#
|
||||
# Reference URL:
|
||||
# https://github.com/v2ray/v2ray-core.git
|
||||
# https://github.com/v2fly/v2ray-core.git
|
||||
|
||||
cur_dir="$(pwd)"
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Copyright (C) 2019 - 2020 Teddysun <i@teddysun.com>
|
||||
#
|
||||
# Reference URL:
|
||||
# https://github.com/v2ray/v2ray-core.git
|
||||
# https://github.com/v2fly/v2ray-core.git
|
||||
|
||||
PLATFORM=$1
|
||||
if [ -z "$PLATFORM" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user