mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Update Dockerfile
This commit is contained in:
parent
c112c2990b
commit
557ffa2c08
@ -18,7 +18,11 @@ RUN set -ex \
|
||||
&& rm -fv /root/trojan-go.sh \
|
||||
&& mkdir -p /usr/share/trojan-go \
|
||||
&& wget -O /usr/share/trojan-go/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/share/trojan-go/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||
&& wget -O /usr/share/trojan-go/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat \
|
||||
&& wget -O /usr/share/trojan-go/geoip-only-cn-private.dat https://github.com/v2fly/geoip/releases/latest/download/geoip-only-cn-private.dat \
|
||||
&& ln -fs /usr/share/trojan-go/geoip.dat /usr/bin/ \
|
||||
&& ln -fs /usr/share/trojan-go/geoip-only-cn-private.dat /usr/bin/ \
|
||||
&& ln -fs /usr/share/trojan-go/geosite.dat /usr/bin/
|
||||
|
||||
VOLUME /etc/trojan-go
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
@ -19,7 +19,11 @@ RUN set -ex \
|
||||
&& rm -fv /root/trojan-go.sh \
|
||||
&& mkdir -p /usr/share/trojan-go \
|
||||
&& wget -O /usr/share/trojan-go/geosite.dat https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat \
|
||||
&& wget -O /usr/share/trojan-go/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||
&& wget -O /usr/share/trojan-go/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat \
|
||||
&& wget -O /usr/share/trojan-go/geoip-only-cn-private.dat https://github.com/v2fly/geoip/releases/latest/download/geoip-only-cn-private.dat \
|
||||
&& ln -fs /usr/share/trojan-go/geoip.dat /usr/bin/ \
|
||||
&& ln -fs /usr/share/trojan-go/geoip-only-cn-private.dat /usr/bin/ \
|
||||
&& ln -fs /usr/share/trojan-go/geosite.dat /usr/bin/
|
||||
|
||||
VOLUME /etc/trojan-go
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
Loading…
x
Reference in New Issue
Block a user