Update Dockerfile

This commit is contained in:
Teddysun 2020-06-01 21:52:10 +09:00
parent 96fc641091
commit 5003f61ee8
2 changed files with 4 additions and 4 deletions

View File

@ -17,8 +17,8 @@ RUN set -ex \
&& chmod +x /root/trojan-go.sh \
&& /root/trojan-go.sh \
&& rm -fv /root/trojan-go.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 /root/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat \
&& wget -O /root/geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
VOLUME /etc/trojan-go
ENV TZ=Asia/Shanghai

View File

@ -18,8 +18,8 @@ RUN set -ex \
&& chmod +x /root/trojan-go.sh \
&& /root/trojan-go.sh "${TARGETPLATFORM}" \
&& rm -fv /root/trojan-go.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 /root/geosite.dat https://github.com/v2ray/domain-list-community/releases/latest/download/dlc.dat \
&& wget -O /root/geoip.dat https://github.com/v2ray/geoip/releases/latest/download/geoip.dat
VOLUME /etc/trojan-go
ENV TZ=Asia/Shanghai