This commit is contained in:
root 2017-11-03 08:49:44 +01:00
parent ad70368630
commit 09962aadc1

View File

@ -1,4 +1,4 @@
FROM debian:stretch FROM "debian:stretch"
MAINTAINER Julien Cabillot <jcabillot@gmail.com> MAINTAINER Julien Cabillot <jcabillot@gmail.com>
RUN groupadd -r -g 666 sabnzbd && \ RUN groupadd -r -g 666 sabnzbd && \
@ -46,8 +46,14 @@ RUN export SABNZBD_VERSION=2.3.0 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \
apt-get -y remove --purge $BUILD_PACKAGES && \ apt-get -y remove --purge $BUILD_PACKAGES && \
apt-get -y autoremove --purge && \ apt-get -y autoremove --purge && \
apt-get -y clean all && \ apt-get -y clean all && \
rm -rf /var/lib/apt/lists/* && \ rm -rf "/usr/share/doc/*" \
rm -rf /tmp/* "/var/cache/*" \
"/var/lib/apt/lists/*" \
"/usr/src/*" \
"/var/cache/*" \
"/var/log/"{apt/*,dpkg.log} \
"/var/www/html" \
"/tmp/*"
# #
# Define container settings. # Define container settings.