2
1
mirror of https://github.com/EpicMorg/docker-scripts.git synced 2025-06-19 17:32:05 +03:00

fixed issues/30

optimized final containers which uses devel base
This commit is contained in:
stam 2020-01-16 22:55:50 +03:00
parent 91a064118b
commit 0b08d2a823
3 changed files with 9 additions and 3 deletions
balancer/latest
qbittorrent

@ -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"]

@ -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}

@ -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}