Skip to content

Commit

Permalink
remove useless rm in alpine variants
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 11, 2024
1 parent ea0fdc6 commit f2d2d1b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions 7.4-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 1 addition & 3 deletions 8.0-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 1 addition & 3 deletions 8.1-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 1 addition & 3 deletions 8.2-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 1 addition & 3 deletions 8.3-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f2d2d1b

Please sign in to comment.