mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Update Dockerfile
This commit is contained in:
parent
a7eaedee40
commit
5778cd21c8
@ -19,7 +19,7 @@ RUN set -ex \
|
|||||||
&& cd geoip \
|
&& cd geoip \
|
||||||
&& go get -d \
|
&& go get -d \
|
||||||
&& go build -o /go/bin/geoip \
|
&& go build -o /go/bin/geoip \
|
||||||
&& GEOSITE_TAG="$(wget -qO- "https://api.github.com/repos/v2ray/domain-list-community/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" \
|
&& GEOSITE_TAG="$(wget -qO- https://api.github.com/repos/v2ray/domain-list-community/releases/latest | grep 'tag_name' | sed -E 's/.*"([^"]+)".*/\1/')" \
|
||||||
&& wget -O /go/bin/geosite.dat "https://github.com/v2ray/domain-list-community/releases/download/${GEOSITE_TAG}/dlc.dat" \
|
&& wget -O /go/bin/geosite.dat "https://github.com/v2ray/domain-list-community/releases/download/${GEOSITE_TAG}/dlc.dat" \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& wget -O GeoLite2-Country-CSV.zip http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip \
|
&& wget -O GeoLite2-Country-CSV.zip http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user