aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-30 00:12:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-30 00:48:32 +0300
commitc45b6964b388159a30152114571466a08e9dac6a (patch)
treecee5a2fdaec3ceb1c242b89adc2ebf359e56b5cf
parentdump1090: slimmer image (diff)
downloadfr24feed-c45b6964b388159a30152114571466a08e9dac6a.tar.gz
fr24feed-c45b6964b388159a30152114571466a08e9dac6a.zip
fr24feed: stretch -> stretch-slim
Diffstat (limited to '')
-rw-r--r--fr24feed/Dockerfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/fr24feed/Dockerfile b/fr24feed/Dockerfile
index 23488c9..63eee4f 100644
--- a/fr24feed/Dockerfile
+++ b/fr24feed/Dockerfile
@@ -1,14 +1,17 @@
-FROM debian:stretch
+# Alpine is a bit too extreme (it doesn't have /etc/localtime, no support for
+# hostname -I, etc.).
+
+FROM debian:stretch-slim
LABEL maintainer="Egor Tensin <Egor.Tensin@gmail.com>"
# Don't prompt:
ENV DEBIAN_FRONTEND=noninteractive
-RUN apt-get update -yq \
- && apt-get install -yq --no-install-recommends \
- # fr24feed dependencies:
- ca-certificates procps
+ # fr24feed dependencies:
+RUN runtime_deps='ca-certificates procps' && \
+ apt-get update -yq && \
+ apt-get install -yq --no-install-recommends $runtime_deps
# Variables:
ARG FR24FEED_VERSION=1.0.24-7