From 5b3bf36e164149116d7c2e5fa49013cb27cfafbe Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Mon, 30 May 2016 19:43:23 +0200 Subject: [PATCH] clean /root/.gnupg --- boring-nginx/Dockerfile | 2 +- cowrie/Dockerfile | 2 +- owncloud/Dockerfile | 2 +- piwik/Dockerfile | 2 +- rainloop/Dockerfile | 2 +- tor/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boring-nginx/Dockerfile b/boring-nginx/Dockerfile index ba4b389..7036ec8 100644 --- a/boring-nginx/Dockerfile +++ b/boring-nginx/Dockerfile @@ -101,7 +101,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap && make -j ${NB_CORES} && make install && make clean \ && strip -s /usr/local/sbin/nginx \ && apk del ${BUILD_DEPS} \ - && rm -rf /tmp/* /var/cache/apk/* + && rm -rf /tmp/* /var/cache/apk/* /root/.gnupg COPY nginx.conf /etc/nginx/conf/nginx.conf COPY run.sh /usr/local/bin/run.sh diff --git a/cowrie/Dockerfile b/cowrie/Dockerfile index 3e64364..27861c0 100644 --- a/cowrie/Dockerfile +++ b/cowrie/Dockerfile @@ -75,7 +75,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap && wget -qO- https://github.com/micheloosterhof/cowrie/archive/master.tar.gz | tar xz --strip 1 \ && mv cowrie.cfg.dist cowrie.cfg \ && apk del ${BUILD_DEPS} \ - && rm -rf /var/cache/apk/* /tmp/* + && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg COPY run.sh /usr/local/bin/run.sh diff --git a/owncloud/Dockerfile b/owncloud/Dockerfile index 85764cf..929829e 100644 --- a/owncloud/Dockerfile +++ b/owncloud/Dockerfile @@ -69,7 +69,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap && cd ../apcu_bc-${APCUBC_VERSION} && phpize7 && ./configure --with-php-config=/usr/bin/php-config7 && make && make install \ && sed -i "s/;env\[PATH\]/env\[PATH\]/g" /etc/php7/php-fpm.d/www.conf \ && apk del ${BUILD_DEPS} php7-dev php7-pear \ - && rm -rf /var/cache/apk/* /tmp/* + && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg COPY nginx.conf /etc/nginx/nginx.conf COPY php-fpm.conf /etc/php7/php-fpm.conf diff --git a/piwik/Dockerfile b/piwik/Dockerfile index 3683d87..a467d04 100644 --- a/piwik/Dockerfile +++ b/piwik/Dockerfile @@ -64,7 +64,7 @@ RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/re && wget -q https://raw.githubusercontent.com/cerlestes/piwik/cerlestes-patch-1/libs/MaxMindGeoIP/geoip.inc \ && chmod +x geoip.inc \ && apk del ${BUILD_DEPS} php7-dev php7-pear \ - && rm -rf /var/cache/apk/* /tmp/* + && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg COPY nginx.conf /etc/nginx/nginx.conf COPY php-fpm.conf /etc/php7/php-fpm.conf diff --git a/rainloop/Dockerfile b/rainloop/Dockerfile index 80fd5b2..9fe5b0d 100644 --- a/rainloop/Dockerfile +++ b/rainloop/Dockerfile @@ -38,7 +38,7 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap && find /rainloop -type d -exec chmod 755 {} \; \ && find /rainloop -type f -exec chmod 644 {} \; \ && apk del gnupg \ - && rm -rf /tmp/* /var/cache/apk/* + && rm -rf /tmp/* /var/cache/apk/* /root/.gnupg COPY nginx.conf /etc/nginx/nginx.conf COPY php-fpm.conf /etc/php7/php-fpm.conf diff --git a/tor/Dockerfile b/tor/Dockerfile index 1ec8743..74426ec 100644 --- a/tor/Dockerfile +++ b/tor/Dockerfile @@ -47,7 +47,7 @@ RUN BUILD_DEPS=" \ && echo "All seems good, now unpacking ${ARM_TARBALL}..." \ && tar xjf /tmp/${ARM_TARBALL} && cd arm && ./install \ && apk del ${BUILD_DEPS} \ - && rm -rf /var/cache/apk/* /tmp/* + && rm -rf /var/cache/apk/* /tmp/* /root/.gnupg VOLUME /usr/local/etc/tor /tordata EXPOSE 9001 9030