From c364597ec1268e4e33beba8d2801e47488a2c156 Mon Sep 17 00:00:00 2001 From: Abhishek Jaisingh Date: Wed, 5 Feb 2020 18:49:07 +0530 Subject: [PATCH] use apt-get instead of apt Fix docker build warnings regarding usage of apt instead of apt-get --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1661be5..4e2a815 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ RUN go get -v github.com/retailnext/iptables_exporter FROM debian:9-slim -RUN apt update && \ - apt install iptables -y && \ +RUN apt-get update && \ + apt-get install iptables -y && \ rm -fr /var/lib/apt/lists/* COPY --from=builder /go/bin/iptables_exporter /usr/local/bin/iptables_exporter