From 06934a8462cf932d89844601ec3c213313c14f82 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Mon, 30 Mar 2020 17:25:04 +0200 Subject: [pkg] Remove geoipupdate from container --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7395e9e..e3aa34b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch AS build +FROM debian:buster AS build RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ build-essential pkg-config golang-go git ca-certificates \ && rm -rf /var/lib/apt/lists/* @@ -10,12 +10,6 @@ RUN go get 0xacab.org/leap/getmyip RUN strip $GOPATH/bin/getmyip FROM registry.git.autistici.org/ai3/docker/chaperone-base -RUN echo 'deb http://deb.debian.org/debian stretch 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 ca-certificates \ -&& rm -rf /var/lib/apt/lists/* -RUN cp /usr/share/doc/geoipupdate/examples/GeoIP.conf.default /etc/GeoIP.conf -RUN /usr/bin/geoipupdate COPY --from=build /go/bin/getmyip /usr/local/bin/getmyip COPY chaperone.d/ /etc/chaperone.d -- cgit v1.2.3