Skip to content

Commit 5b5ac15

Browse files
committed
Clean up Debian images
1 parent c537d64 commit 5b5ac15

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.hadolint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ ignored:
1414
- DL3008
1515
- DL3009
1616
- DL3014
17-
- DL3015
17+
- DL3015
18+
- DL3027

Dockerfile-nts-debian

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7474
&& docker-php-ext-enable uv \
7575
&& docker-php-ext-enable vips \
7676
&& wget -O - https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for \
77-
&& yes | apt-get purge wget $PHPIZE_DEPS \
7877
&& chmod +x /bin/wait-for \
79-
&& rm -rf /var/cache/apk/* \
78+
&& yes | apt-get purge wget $PHPIZE_DEPS \
79+
&& yes | apt autoremove \
80+
&& yes | apt-get install libvips-dev \
81+
&& rm -rf /var/cache/apt/* \
8082
&& rm -rf /tmp/*
8183

8284
# Install shush

Dockerfile-zts-debian

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
9090
&& docker-php-ext-enable uv \
9191
&& docker-php-ext-enable vips \
9292
&& wget -O - https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for \
93-
&& yes | apt-get purge wget $PHPIZE_DEPS \
9493
&& chmod +x /bin/wait-for \
95-
&& rm -rf /var/cache/apk/* \
94+
&& yes | apt-get purge wget $PHPIZE_DEPS \
95+
&& yes | apt autoremove \
96+
&& yes | apt-get install libvips-dev \
97+
&& rm -rf /var/cache/apt/* \
9698
&& rm -rf /tmp/*
9799

98100
# Install shush

0 commit comments

Comments
 (0)