File tree Expand file tree Collapse file tree 15 files changed +90
-45
lines changed
Expand file tree Collapse file tree 15 files changed +90
-45
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm"* ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
4447RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
4548RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
4447RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
4548RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ PS_FOLDER_INSTALL=install
2727RUN apt-get update \
2828 && apt-get install -y libmcrypt-dev \
2929 libjpeg62-turbo-dev \
30- libpcre3-dev \
3130 libpng-dev \
3231 libwebp-dev \
3332 libfreetype6-dev \
@@ -37,9 +36,13 @@ RUN apt-get update \
3736 default-mysql-client \
3837 wget \
3938 unzip \
40- libonig-dev
39+ libonig-dev \
40+ && rm -rf /var/lib/apt/lists/*
41+
42+ RUN if [[ "$(cat /etc/os-release)" == *"bookworm" * ]]; then apt-get update \
43+ && apt-get install -y libpcre3-dev \
44+ && rm -rf /var/lib/apt/lists/*; fi
4145
42- RUN rm -rf /var/lib/apt/lists/*
4346RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
4447RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath
4548
You can’t perform that action at this time.
0 commit comments