mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 06:37:55 +03:00
fixed issues/30
optimized final containers which uses devel base
This commit is contained in:
parent
91a064118b
commit
0b08d2a823
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user