diff --git a/.hadolint.yaml b/.hadolint.yaml index 73e7a26a..4b074edd 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -14,4 +14,5 @@ ignored: - DL3008 - DL3009 - DL3014 - - DL3015 \ No newline at end of file + - DL3015 + - DL3027 \ No newline at end of file diff --git a/Dockerfile-nts-debian b/Dockerfile-nts-debian index 54347917..0d2e6740 100644 --- a/Dockerfile-nts-debian +++ b/Dockerfile-nts-debian @@ -67,9 +67,10 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \ && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv \ && docker-php-ext-enable uv \ && wget -O - https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for \ - && yes | apt-get purge wget $PHPIZE_DEPS \ && chmod +x /bin/wait-for \ - && rm -rf /var/cache/apk/* \ + && yes | apt-get purge wget $PHPIZE_DEPS \ + && yes | apt autoremove \ + && rm -rf /var/cache/apt/* \ && rm -rf /tmp/* # Install shush diff --git a/Dockerfile-zts-debian b/Dockerfile-zts-debian index 78d85acc..2b51063e 100644 --- a/Dockerfile-zts-debian +++ b/Dockerfile-zts-debian @@ -83,9 +83,10 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \ && docker-php-ext-enable parallel \ && docker-php-ext-enable uv \ && wget -O - https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for \ - && yes | apt-get purge wget $PHPIZE_DEPS \ && chmod +x /bin/wait-for \ - && rm -rf /var/cache/apk/* \ + && yes | apt-get purge wget $PHPIZE_DEPS \ + && yes | apt autoremove \ + && rm -rf /var/cache/apt/* \ && rm -rf /tmp/* # Install shush