mirror of
https://github.com/teddysun/across.git
synced 2025-10-08 22:05:34 +08:00
Update Dockerfile
This commit is contained in:
@@ -16,8 +16,8 @@ RUN set -ex \
|
|||||||
&& chmod +x /root/trojan-go.sh \
|
&& chmod +x /root/trojan-go.sh \
|
||||||
&& /root/trojan-go.sh \
|
&& /root/trojan-go.sh \
|
||||||
&& rm -fv /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/geosite.dat https://github.com/v2fly/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/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||||
|
|
||||||
VOLUME /etc/trojan-go
|
VOLUME /etc/trojan-go
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
|
@@ -17,8 +17,8 @@ RUN set -ex \
|
|||||||
&& chmod +x /root/trojan-go.sh \
|
&& chmod +x /root/trojan-go.sh \
|
||||||
&& /root/trojan-go.sh "${TARGETPLATFORM}" \
|
&& /root/trojan-go.sh "${TARGETPLATFORM}" \
|
||||||
&& rm -fv /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/geosite.dat https://github.com/v2fly/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/geoip.dat https://github.com/v2fly/geoip/releases/latest/download/geoip.dat
|
||||||
|
|
||||||
VOLUME /etc/trojan-go
|
VOLUME /etc/trojan-go
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
|
Reference in New Issue
Block a user