-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docker php82 to 8.2.18, php83 to 8.3.6 and other needed packages
- Loading branch information
1 parent
3431a9d
commit 928d6d0
Showing
48 changed files
with
185 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# PLEASE DO NOT EDIT IT DIRECTLY! | ||
# CHECK README FOR MORE INFO. | ||
# | ||
FROM php:8.2.16-cli | ||
FROM php:8.2.18-cli | ||
|
||
LABEL maintainer="Lubomir Stanko <[email protected]>" | ||
|
||
|
@@ -13,6 +13,8 @@ LABEL maintainer="Lubomir Stanko <[email protected]>" | |
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Building envs | ||
ENV MAKEFLAGS="-j4" | ||
# Common envs | ||
ENV PROJECT_ROOT="/var/www/html" | ||
# Php | ||
# Php error reporting constants https://www.php.net/manual/en/errorfunc.constants.php | ||
# Calculate the number for config on https://maximivanov.github.io/php-error-reporting-calculator/ | ||
|
@@ -45,7 +47,8 @@ ENV PHP_DATE_TIMEZONE="UTC" \ | |
PHP_SLOW_LOG="/proc/self/fd/2" \ | ||
PHP_UPLOAD_MAX_FILESIZE="20M" \ | ||
PHP_VARIABLES_ORDER="GPCS" \ | ||
XDEBUG_LOG="/var/www/html/xdebug.log" | ||
PROJECT_WEBROOT="${PROJECT_ROOT}/public" \ | ||
XDEBUG_LOG="${PROJECT_ROOT}/xdebug.log" | ||
# Composer | ||
ENV COMPOSER_HOME="/composer" \ | ||
PATH="/composer/vendor/bin:$PATH" | ||
|
@@ -122,10 +125,10 @@ RUN apt-get update && \ | |
apt-get install -y \ | ||
${PECL_BUILD_DEPS} && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.18.1 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.2 && \ | ||
docker-php-ext-enable \ | ||
apcu \ | ||
mongodb \ | ||
|
@@ -159,7 +162,7 @@ RUN curl -sS https://getcomposer.org/installer | \ | |
php -- \ | ||
--install-dir=/usr/local/bin \ | ||
--filename=composer \ | ||
--version=2.7.1 | ||
--version=2.7.2 | ||
|
||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# REDIS-TOOLS | ||
|
@@ -170,7 +173,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \ | |
curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o ${REDIS_KEYRING} && \ | ||
echo "deb [signed-by=${REDIS_KEYRING}] https://packages.redis.io/deb ${REDIS_REPO} main" > /etc/apt/sources.list.d/redis.list && \ | ||
apt-get update && \ | ||
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \ | ||
apt-get install -y redis-tools=6:7.2.4-1rl1~bookworm1 && \ | ||
# Cleanup | ||
apt-get clean && \ | ||
rm -r /var/lib/apt/lists/* | ||
|
@@ -188,6 +191,6 @@ COPY ./usr /usr | |
# RUN | ||
# Run setup and entrypoint start | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
WORKDIR /var/www/html | ||
WORKDIR ${PROJECT_ROOT} | ||
|
||
ENTRYPOINT ["docker-entrypoint"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# PLEASE DO NOT EDIT IT DIRECTLY! | ||
# CHECK README FOR MORE INFO. | ||
# | ||
FROM php:8.2.16-cli | ||
FROM php:8.2.18-cli | ||
|
||
LABEL maintainer="Lubomir Stanko <[email protected]>" | ||
|
||
|
@@ -13,6 +13,8 @@ LABEL maintainer="Lubomir Stanko <[email protected]>" | |
# ---------------------------------------------------------------------------------------------------------------------- | ||
# Building envs | ||
ENV MAKEFLAGS="-j4" | ||
# Common envs | ||
ENV PROJECT_ROOT="/var/www/html" | ||
# Php | ||
# Php error reporting constants https://www.php.net/manual/en/errorfunc.constants.php | ||
# Calculate the number for config on https://maximivanov.github.io/php-error-reporting-calculator/ | ||
|
@@ -45,7 +47,8 @@ ENV PHP_DATE_TIMEZONE="UTC" \ | |
PHP_SLOW_LOG="/proc/self/fd/2" \ | ||
PHP_UPLOAD_MAX_FILESIZE="20M" \ | ||
PHP_VARIABLES_ORDER="GPCS" \ | ||
XDEBUG_LOG="/var/www/html/xdebug.log" | ||
PROJECT_WEBROOT="${PROJECT_ROOT}/public" \ | ||
XDEBUG_LOG="${PROJECT_ROOT}/xdebug.log" | ||
# Composer | ||
ENV COMPOSER_HOME="/composer" \ | ||
PATH="/composer/vendor/bin:$PATH" | ||
|
@@ -122,10 +125,10 @@ RUN apt-get update && \ | |
apt-get install -y \ | ||
${PECL_BUILD_DEPS} && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install apcu-5.1.23 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.17.2 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install mongodb-1.18.1 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install pcov-1.0.11 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install redis-6.0.2 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.1 && \ | ||
yes '' | MAKEFLAGS="-j$(($(nproc)+2))" pecl install xdebug-3.3.2 && \ | ||
docker-php-ext-enable \ | ||
apcu \ | ||
mongodb \ | ||
|
@@ -159,7 +162,7 @@ RUN curl -sS https://getcomposer.org/installer | \ | |
php -- \ | ||
--install-dir=/usr/local/bin \ | ||
--filename=composer \ | ||
--version=2.7.1 | ||
--version=2.7.2 | ||
|
||
# ---------------------------------------------------------------------------------------------------------------------- | ||
# REDIS-TOOLS | ||
|
@@ -170,7 +173,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \ | |
curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o ${REDIS_KEYRING} && \ | ||
echo "deb [signed-by=${REDIS_KEYRING}] https://packages.redis.io/deb ${REDIS_REPO} main" > /etc/apt/sources.list.d/redis.list && \ | ||
apt-get update && \ | ||
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \ | ||
apt-get install -y redis-tools=6:7.2.4-1rl1~bookworm1 && \ | ||
# Cleanup | ||
apt-get clean && \ | ||
rm -r /var/lib/apt/lists/* | ||
|
@@ -235,10 +238,10 @@ RUN DEBIAN_FRONTEND=noninteractive && \ | |
${VIPS_RUN_DEPS} && \ | ||
cd /tmp && \ | ||
wget -qc \ | ||
https://github.com/libvips/libvips/releases/download/v8.15.1/vips-8.15.1.tar.xz \ | ||
https://github.com/libvips/libvips/releases/download/v8.15.2/vips-8.15.2.tar.xz \ | ||
-O - | \ | ||
tar -xJ && \ | ||
cd vips-8.15.1 && \ | ||
cd vips-8.15.2 && \ | ||
meson setup release --libdir=lib --buildtype=release && \ | ||
cd release && \ | ||
meson compile && \ | ||
|
@@ -293,6 +296,6 @@ COPY ./usr /usr | |
# RUN | ||
# Run setup and entrypoint start | ||
# ---------------------------------------------------------------------------------------------------------------------- | ||
WORKDIR /var/www/html | ||
WORKDIR ${PROJECT_ROOT} | ||
|
||
ENTRYPOINT ["docker-entrypoint"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.