From f2d2d1ba6c9a1ad87d99063896eff58f22a065dd Mon Sep 17 00:00:00 2001 From: Guillaume Sainthillier Date: Wed, 11 Dec 2024 13:20:47 +0100 Subject: [PATCH] remove useless rm in alpine variants --- 7.4-ci/Dockerfile | 4 +--- 8.0-ci/Dockerfile | 4 +--- 8.1-ci/Dockerfile | 4 +--- 8.2-ci/Dockerfile | 4 +--- 8.3-ci/Dockerfile | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/7.4-ci/Dockerfile b/7.4-ci/Dockerfile index 6d66cd6..a41f1e9 100644 --- a/7.4-ci/Dockerfile +++ b/7.4-ci/Dockerfile @@ -16,9 +16,7 @@ RUN apk add --no-cache \ git \ zlib && \ #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ - # Reduce layer size - rm -rf /var/cache/apk/* /tmp/* + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # PHP Extensions ENV PHPIZE_DEPS \ diff --git a/8.0-ci/Dockerfile b/8.0-ci/Dockerfile index 8fc56c4..0ec4119 100644 --- a/8.0-ci/Dockerfile +++ b/8.0-ci/Dockerfile @@ -16,9 +16,7 @@ RUN apk add --no-cache \ git \ zlib && \ #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ - # Reduce layer size - rm -rf /var/cache/apk/* /tmp/* + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # PHP Extensions ENV PHPIZE_DEPS \ diff --git a/8.1-ci/Dockerfile b/8.1-ci/Dockerfile index be0d8fa..0844d86 100644 --- a/8.1-ci/Dockerfile +++ b/8.1-ci/Dockerfile @@ -16,9 +16,7 @@ RUN apk add --no-cache \ git \ zlib && \ #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ - # Reduce layer size - rm -rf /var/cache/apk/* /tmp/* + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # PHP Extensions ENV PHPIZE_DEPS \ diff --git a/8.2-ci/Dockerfile b/8.2-ci/Dockerfile index 3cc868d..1b6ca3a 100644 --- a/8.2-ci/Dockerfile +++ b/8.2-ci/Dockerfile @@ -16,9 +16,7 @@ RUN apk add --no-cache \ git \ zlib && \ #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ - # Reduce layer size - rm -rf /var/cache/apk/* /tmp/* + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # PHP Extensions ENV PHPIZE_DEPS \ diff --git a/8.3-ci/Dockerfile b/8.3-ci/Dockerfile index 202e924..3a0ea05 100644 --- a/8.3-ci/Dockerfile +++ b/8.3-ci/Dockerfile @@ -16,9 +16,7 @@ RUN apk add --no-cache \ git \ zlib && \ #Composer - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ - # Reduce layer size - rm -rf /var/cache/apk/* /tmp/* + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # PHP Extensions ENV PHPIZE_DEPS \