From bc3bfe18c1977d2630eeab203255d25685b515b3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 12 Dec 2019 08:07:09 +0300 Subject: don't run dist-upgrade in Dockerfiles --- dump1090/Dockerfile | 13 ++++++------- fr24feed/Dockerfile | 8 ++++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/dump1090/Dockerfile b/dump1090/Dockerfile index 490e5ef..578f73c 100644 --- a/dump1090/Dockerfile +++ b/dump1090/Dockerfile @@ -5,13 +5,12 @@ LABEL maintainer="Egor Tensin " # Don't prompt: ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update -yq && apt-get dist-upgrade -yq - -# Install dependencies (from README at https://github.com/flightaware/dump1090): -RUN apt-get install -yq build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev - -# Install Supervisor to run both lighttpd and dump1090: -RUN apt-get install -yq supervisor +RUN apt-get update -yq \ + && apt-get install -yq --no-install-recommends \ + # dump1090 dependencies (from README at https://github.com/flightaware/dump1090): + build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev \ + # Supervisor to run both lighttpd and dump1090: + supervisor # Build and install the dump1090-fa package: WORKDIR /tmp diff --git a/fr24feed/Dockerfile b/fr24feed/Dockerfile index 57a355c..23488c9 100644 --- a/fr24feed/Dockerfile +++ b/fr24feed/Dockerfile @@ -5,10 +5,10 @@ LABEL maintainer="Egor Tensin " # Don't prompt: ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update -yq && apt-get dist-upgrade -yq - -# Install fr24feed dependencies: -RUN apt-get install -yq ca-certificates procps +RUN apt-get update -yq \ + && apt-get install -yq --no-install-recommends \ + # fr24feed dependencies: + ca-certificates procps # Variables: ARG FR24FEED_VERSION=1.0.24-7 -- cgit v1.2.3