mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
Update: Dockerfile
This commit is contained in:
parent
b733a79e73
commit
7ccbe05eb8
|
@ -1,9 +1,7 @@
|
|||
FROM golang:latest as builder
|
||||
RUN wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz -O /tmp/GeoLite2-Country.tar.gz && \
|
||||
cd /tmp && \
|
||||
tar zxvf GeoLite2-Country.tar.gz && \
|
||||
cd GeoLite2-Country_* && \
|
||||
cp GeoLite2-Country.mmdb /Country.mmdb
|
||||
tar zxvf /tmp/GeoLite2-Country.tar.gz -C /tmp && \
|
||||
cp /tmp/GeoLite2-Country_*/GeoLite2-Country.mmdb /Country.mmdb
|
||||
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \
|
||||
mkdir -p /go/src/github.com/Dreamacro/clash
|
||||
WORKDIR /go/src/github.com/Dreamacro/clash
|
||||
|
|
Loading…
Reference in New Issue
Block a user