aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-12 08:07:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-12 08:07:09 +0300
commitbc3bfe18c1977d2630eeab203255d25685b515b3 (patch)
tree5f1911a1f406c7d8a9abeb3bf01ebca361b465e2
parentREADME: update (diff)
downloadfr24feed-bc3bfe18c1977d2630eeab203255d25685b515b3.tar.gz
fr24feed-bc3bfe18c1977d2630eeab203255d25685b515b3.zip
don't run dist-upgrade in Dockerfiles
-rw-r--r--dump1090/Dockerfile13
-rw-r--r--fr24feed/Dockerfile8
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 <Egor.Tensin@gmail.com>"
# 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 <Egor.Tensin@gmail.com>"
# 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