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 5b5ac15
Show file tree
Hide file tree
Showing 3 changed files with 10 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
6 changes: 4 additions & 2 deletions Dockerfile-nts-debian
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ 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 \
&& yes | apt-get install libvips-dev \
&& rm -rf /var/cache/apt/* \
&& rm -rf /tmp/*

# Install shush
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile-zts-debian
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ 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 \
&& yes | apt-get install libvips-dev \
&& rm -rf /var/cache/apt/* \
&& rm -rf /tmp/*

# Install shush
Expand Down

0 comments on commit 5b5ac15

Please sign in to comment.