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

View File

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

View File

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

View File

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