From 0b08d2a823ec4a1d2fa6efa92a259667b0c53f8a Mon Sep 17 00:00:00 2001 From: stam Date: Thu, 16 Jan 2020 22:55:50 +0300 Subject: [PATCH] fixed issues/30 optimized final containers which uses devel base --- balancer/latest/Dockerfile | 4 +++- qbittorrent/latest/Dockerfile | 4 +++- qbittorrent/stable/Dockerfile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/balancer/latest/Dockerfile b/balancer/latest/Dockerfile index 6bd24a6d7..059603997 100644 --- a/balancer/latest/Dockerfile +++ b/balancer/latest/Dockerfile @@ -185,7 +185,9 @@ RUN apt-get update && \ apt autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ - rm -rfv /tmp/deb/* + rm -rfv /tmp/deb/* && \ + rm -rfv /builds/* && \ + rm -rfv /valve/* #Final config VOLUME ["/var/cache/nginx"] diff --git a/qbittorrent/latest/Dockerfile b/qbittorrent/latest/Dockerfile index e09823fcc..699eaeb70 100644 --- a/qbittorrent/latest/Dockerfile +++ b/qbittorrent/latest/Dockerfile @@ -38,7 +38,9 @@ RUN apt-get update && \ RUN apt clean -y && \ apt autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /var/cache/apt/archives/*.deb + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /builds/* && \ + rm -rfv /valve/* VOLUME ${QBT_DIR} diff --git a/qbittorrent/stable/Dockerfile b/qbittorrent/stable/Dockerfile index c88f99867..a1d1eeae2 100644 --- a/qbittorrent/stable/Dockerfile +++ b/qbittorrent/stable/Dockerfile @@ -38,7 +38,9 @@ RUN apt-get update && \ RUN apt clean -y && \ apt autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ - rm -rfv /var/cache/apt/archives/*.deb + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /builds/* && \ + rm -rfv /valve/* VOLUME ${QBT_DIR}