fix: #676 docker override old proxy files

This commit is contained in:
Yidadaa 2023-04-10 22:46:58 +08:00
parent ec985f6a1d
commit 8df8ee8936

View File

@ -46,7 +46,7 @@ CMD if [ -n "$PROXY_URL" ]; then \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \ host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
port=$(echo $PROXY_URL | cut -d: -f3); \ port=$(echo $PROXY_URL | cut -d: -f3); \
conf=/etc/proxychains.conf; \ conf=/etc/proxychains.conf; \
echo "strict_chain" >> $conf; \ echo "strict_chain" > $conf; \
echo "proxy_dns" >> $conf; \ echo "proxy_dns" >> $conf; \
echo "remote_dns_subnet 224" >> $conf; \ echo "remote_dns_subnet 224" >> $conf; \
echo "tcp_read_time_out 15000" >> $conf; \ echo "tcp_read_time_out 15000" >> $conf; \