Skip to content

Commit

Permalink
Update: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamacro committed Jun 17, 2018
1 parent cd9f496 commit 46b8e2e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 46b8e2e

Please sign in to comment.