Skip to content

Commit

Permalink
Clean up Debian images
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Nov 29, 2020
1 parent a42656b commit 6d3c974
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .hadolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ ignored:
- DL3008
- DL3009
- DL3014
- DL3015
- DL3015
- DL3027
5 changes: 3 additions & 2 deletions Dockerfile-nts-debian
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-zts-debian
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d3c974

Please sign in to comment.