Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6632da4

Browse files
committed
Fix breaking changes: restore missing packages and flags
Restore packages and configuration flags that were incorrectly removedfrom legacy PHP versions, preventing breaking changes in existing images.Fixed issues:- Add iputils-ping and libicu-dev to base variant for PHP 5.6-7.3- Add --with-libzip flag for zip configuration in symfony variant for PHP 7.1-7.3- Add package_overrides support in config.yaml for version-specific packages- Add zip_configure_flag support for version-specific zip configurationImplementation:- Updated config.yaml with package_overrides for legacy versions- Updated config.py to apply package overrides per PHP version- Updated generate.py to pass zipConfigureFlag to templates- Updated symfony template to use zipConfigureFlag conditionallyVerification:- PHP 7.1 base: includes iputils-ping, libicu-dev ✓- PHP 7.2 symfony: uses --with-libzip for zip ✓- PHP 8.5 base: does NOT include extra packages ✓- PHP 8.5 symfony: does NOT use --with-libzip ✓
1 parent5a0b482 commit6632da4

File tree

14 files changed

+57
-7
lines changed

14 files changed

+57
-7
lines changed

‎5.6/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ RUN apt-get update -qq && \
1313
apt-get install -qy \
1414
git \
1515
gnupg \
16+
iputils-ping \
17+
libicu-dev \
1618
unzip \
1719
zip && \
1820
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \

‎7.1-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2727

2828
# PHP Extensions
29-
RUN docker-php-ext-configure zip && \
29+
RUN docker-php-ext-configure zip--with-libzip&& \
3030
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
3131

3232
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

‎7.1/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ RUN apt-get update -qq && \
1818
apt-get install -qy \
1919
git \
2020
gnupg \
21+
iputils-ping \
22+
libicu-dev \
2123
unzip \
2224
zip && \
2325
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \

‎7.2-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2727

2828
# PHP Extensions
29-
RUN docker-php-ext-configure zip && \
29+
RUN docker-php-ext-configure zip--with-libzip&& \
3030
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
3131

3232
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

‎7.2/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ RUN apt-get update -qq && \
1818
apt-get install -qy \
1919
git \
2020
gnupg \
21+
iputils-ping \
22+
libicu-dev \
2123
unzip \
2224
zip && \
2325
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \

‎7.3-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update -qq && \
2626
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2727

2828
# PHP Extensions
29-
RUN docker-php-ext-configure zip && \
29+
RUN docker-php-ext-configure zip--with-libzip&& \
3030
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
3131

3232
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

‎7.3/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ RUN apt-get update -qq && \
1818
apt-get install -qy \
1919
git \
2020
gnupg \
21+
iputils-ping \
22+
libicu-dev \
2123
unzip \
2224
zip && \
2325
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \

‎7.4-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apt-get update -qq && \
2121
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2222

2323
# PHP Extensions
24-
RUN docker-php-ext-configure zip && \
24+
RUN docker-php-ext-configure zip&& \
2525
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
2626

2727
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

‎8.0-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apt-get update -qq && \
2121
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2222

2323
# PHP Extensions
24-
RUN docker-php-ext-configure zip && \
24+
RUN docker-php-ext-configure zip&& \
2525
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
2626

2727
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

‎8.1-symfony/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apt-get update -qq && \
2121
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*
2222

2323
# PHP Extensions
24-
RUN docker-php-ext-configure zip && \
24+
RUN docker-php-ext-configure zip&& \
2525
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
2626

2727
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp