diff options
author | Micah Anderson <micah@riseup.net> | 2019-10-16 00:34:54 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2019-10-16 00:34:54 -0400 |
commit | 9d73f9ccf352f2973df58a85a6c450db23c90055 (patch) | |
tree | 835bb2c311632e1e15c94201f073700e5fb9b632 | |
parent | 2c453c0b2450211375fd97cdb71ca92bf90d587f (diff) |
Make sure that geoipupdate is installed in final build stage
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,8 @@ RUN mkdir $GOPATH && \ strip $GOPATH/bin/getmyip FROM debian:stable +RUN echo 'deb http://deb.debian.org/debian buster contrib' > /etc/apt/sources.list.d/contrib.list +RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends geoipupdate COPY --from=build /usr/share/doc/geoipupdate/examples/GeoIP.conf.default /etc/GeoIP.conf COPY --from=build /go/bin/getmyip /usr/local/bin/getmyip |