Update Dockerfile

This commit is contained in:
Teddysun 2020-10-02 08:51:19 +09:00
parent 6d9b1ee4bb
commit f857cac91b
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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)"

View File

@ -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