From c9fcc6fc98ef3a7633bda819cad04f5933fd615b Mon Sep 17 00:00:00 2001 From: sneak Date: Tue, 6 Aug 2019 18:53:41 +0000 Subject: [PATCH] cleanup at end of dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 347aa36..547eda8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,3 +25,7 @@ RUN pipenv install RUN mkdir -p /etc/service/strpcd && \ mv /var/app/strpcd.run /etc/service/strpcd/run && \ chmod +x /etc/service/strpcd/run + +RUN apt -y autoremove && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*