Update Dockerfile

This commit is contained in:
Teddysun 2019-11-21 21:12:02 +09:00
parent a7eaedee40
commit 5778cd21c8
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -19,7 +19,7 @@ RUN set -ex \
&& cd geoip \
&& go get -d \
&& 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" \
&& cd /tmp \
&& wget -O GeoLite2-Country-CSV.zip http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip \