Skip to content

Commit

Permalink
reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 11, 2024
1 parent 1c0414f commit ea0fdc6
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 7.1-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
Expand Down
2 changes: 1 addition & 1 deletion 7.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 7.2-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
Expand Down
2 changes: 1 addition & 1 deletion 7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 7.3-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
Expand Down
2 changes: 1 addition & 1 deletion 7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 7.4-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip && \
Expand Down
2 changes: 1 addition & 1 deletion 7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.0-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip && \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.1-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip && \
Expand Down
2 changes: 1 addition & 1 deletion 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.2-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update -qq && \
gnupg \
unzip \
zip && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN install-php-extensions @composer opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.2-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip && \
Expand Down
2 changes: 1 addition & 1 deletion 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.3-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update -qq && \
gnupg \
unzip \
zip && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN install-php-extensions @composer opcache pdo_mysql
Expand Down
2 changes: 1 addition & 1 deletion 8.3-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update -qq && \
zip \
zlib1g-dev && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-configure zip && \
Expand Down
2 changes: 1 addition & 1 deletion 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update -qq && \
unzip \
zip && \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
Expand Down

0 comments on commit ea0fdc6

Please sign in to comment.