From 2aaa327ff39889684e1e46cda476968309a56df5 Mon Sep 17 00:00:00 2001 From: souhaiebtar Date: Mon, 6 Aug 2018 10:52:37 +0100 Subject: [PATCH] change to reduce the docker image by around 10 mb --- docker/tb/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/tb/Dockerfile b/docker/tb/Dockerfile index 8917657bc0..24281f9f3e 100644 --- a/docker/tb/Dockerfile +++ b/docker/tb/Dockerfile @@ -20,5 +20,7 @@ ADD run-application.sh /run-application.sh ADD thingsboard.deb /thingsboard.deb RUN apt-get update \ - && apt-get install -y nmap \ + && apt-get install --no-install-recommends -y nmap \ + && apt-get clean \ + && rm -r /var/lib/apt/lists/* \ && chmod +x /run-application.sh