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 27, 2020
1 parent c537d64 commit 0043646
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 @@ -74,9 +74,10 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
&& docker-php-ext-enable uv \
&& docker-php-ext-enable vips \
&& 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 @@ -90,9 +90,10 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
&& docker-php-ext-enable uv \
&& docker-php-ext-enable vips \
&& 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 0043646

Please sign in to comment.