[download-web/mirrorbits] Need it on the final image rather than the one used to build the mirrorbits binary



commit 62ce8c306e1b96202b186ce1a99595196334cc8b
Author: Andrea Veri <averi redhat com>
Date:   Thu Dec 10 16:35:30 2020 +0100

    Need it on the final image rather than the one used to build the mirrorbits binary

 mirrorbits/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mirrorbits/Dockerfile b/mirrorbits/Dockerfile
index 7653593..888d1ed 100644
--- a/mirrorbits/Dockerfile
+++ b/mirrorbits/Dockerfile
@@ -2,7 +2,7 @@ FROM golang:1.15.6-buster as builder
 ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update -y && \
-    apt-get install -y pkg-config zlib1g-dev protobuf-compiler libprotoc-dev vim
+    apt-get install -y pkg-config zlib1g-dev protobuf-compiler libprotoc-dev
 
 RUN go get -u github.com/maxmind/geoipupdate2/cmd/geoipupdate && \
     go install -ldflags "-X main.defaultConfigFile=/etc/GeoIP.conf -X 
main.defaultDatabaseDirectory=/usr/share/GeoIP" github.com/maxmind/geoipupdate2/cmd/geoipupdate
@@ -16,7 +16,7 @@ EXPOSE 8080
 
 ENV DEBIAN_FRONTEND noninteractive
 RUN apt-get update -y && \
-    apt-get install -y rsync ca-certificates && \
+    apt-get install -y rsync ca-certificates vim && \
     rm -rf /var/lib/apt/lists/*
 
 COPY --from=builder /go/bin/geoipupdate /usr/local/bin/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]