Skip to content

Commit

Permalink
Update php and packages, add support for HEIC/AVIF picture format
Browse files Browse the repository at this point in the history
  • Loading branch information
stankolubomir committed Mar 12, 2024
1 parent 2483a24 commit 949bf57
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 30 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ Additionally, it has preinstalled some libraries (xdebug, libvips, redis, mongod

## What's inside

- PHP 8.2 - 8.2.15
- PHP 8.3 - 8.3.2
- PHP 8.2 - 8.2.16
- PHP 8.3 - 8.3.3
- PHP Apcu ext - 5.1.23
- PHP Mongodb ext - 1.17.2
- PHP Redis ext - 6.0.2
- PHP Pcov ext - 1.0.11
- PHP Xdebug ext - 3.3.1
- Redis (client) - 6.2.13
- Redis (client) - 6.2.14
- Supervisor - 4.2.5
- Composer - 2.6.6
- Composer - 2.7.1
- Vipsffmpeg variant:
- PHP Vips ext - 1.0.13
- FFmpeg - 5.1.4
Expand All @@ -27,7 +27,7 @@ Additionally, it has preinstalled some libraries (xdebug, libvips, redis, mongod
- Nginx-xslt - 1.24.0
- Nginx-geoip - 1.24.0
- Nginx-image-filter - 1.24.0
- Nginx-njs - 0.8.2
- Nginx-njs - 0.8.3

### Special common commands

Expand Down
6 changes: 3 additions & 3 deletions build/php82/cli/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.15-cli
FROM php:8.2.16-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down
7 changes: 4 additions & 3 deletions build/php82/cli/vipsffmpeg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.15-cli
FROM php:8.2.16-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down Expand Up @@ -211,6 +211,7 @@ ENV VIPS_RUN_DEPS="gobject-introspection \
libfile-mimeinfo-perl \
libgif-dev \
libgsf-1-114 \
libheif-dev \
libjpeg62-turbo \
libmatio11 \
liborc-0.4-dev \
Expand Down
9 changes: 5 additions & 4 deletions build/php82/fpm/vipsffmpeg-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.2.15-fpm
FROM php:8.2.16-fpm

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down Expand Up @@ -211,6 +211,7 @@ ENV VIPS_RUN_DEPS="gobject-introspection \
libfile-mimeinfo-perl \
libgif-dev \
libgsf-1-114 \
libheif-dev \
libjpeg62-turbo \
libmatio11 \
liborc-0.4-dev \
Expand Down Expand Up @@ -331,7 +332,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \
nginx-module-xslt=1.24.0-1~bookworm \
nginx-module-geoip=1.24.0-1~bookworm \
nginx-module-image-filter=1.24.0-1~bookworm \
nginx-module-njs=1.24.0+0.8.2-1~bookworm && \
nginx-module-njs=1.24.0+0.8.3-1~bookworm && \
# Cleanup
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
6 changes: 3 additions & 3 deletions build/php83/cli/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.2-cli
FROM php:8.3.3-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down
7 changes: 4 additions & 3 deletions build/php83/cli/vipsffmpeg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.2-cli
FROM php:8.3.3-cli

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down Expand Up @@ -211,6 +211,7 @@ ENV VIPS_RUN_DEPS="gobject-introspection \
libfile-mimeinfo-perl \
libgif-dev \
libgsf-1-114 \
libheif-dev \
libjpeg62-turbo \
libmatio11 \
liborc-0.4-dev \
Expand Down
9 changes: 5 additions & 4 deletions build/php83/fpm/vipsffmpeg-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY!
# CHECK README FOR MORE INFO.
#
FROM php:8.3.2-fpm
FROM php:8.3.3-fpm

LABEL maintainer="Lubomir Stanko <[email protected]>"

Expand Down Expand Up @@ -159,7 +159,7 @@ RUN curl -sS https://getcomposer.org/installer | \
php -- \
--install-dir=/usr/local/bin \
--filename=composer \
--version=2.6.6
--version=2.7.1

# ----------------------------------------------------------------------------------------------------------------------
# REDIS-TOOLS
Expand All @@ -170,7 +170,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.13-1rl1~bookworm1 && \
apt-get install -y redis-tools=6:6.2.14-1rl1~bookworm1 && \
# Cleanup
apt-get clean && \
rm -r /var/lib/apt/lists/*
Expand Down Expand Up @@ -211,6 +211,7 @@ ENV VIPS_RUN_DEPS="gobject-introspection \
libfile-mimeinfo-perl \
libgif-dev \
libgsf-1-114 \
libheif-dev \
libjpeg62-turbo \
libmatio11 \
liborc-0.4-dev \
Expand Down Expand Up @@ -331,7 +332,7 @@ RUN DEBIAN_FRONTEND=noninteractive && \
nginx-module-xslt=1.24.0-1~bookworm \
nginx-module-geoip=1.24.0-1~bookworm \
nginx-module-image-filter=1.24.0-1~bookworm \
nginx-module-njs=1.24.0+0.8.2-1~bookworm && \
nginx-module-njs=1.24.0+0.8.3-1~bookworm && \
# Cleanup
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
13 changes: 13 additions & 0 deletions doc/PHP-Changelog/3.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
2024-03-12
===

### Added
- Add support for `HEIC/AVIF` picture format in vips docker image variants

### Changed
- Docker packages update
- php 8.2 `8.2.16`
- php 8.3 `8.3.3`
- composer `2.7.1`
- nginx njs `0.8.3`
- redis client `6.2.14`
1 change: 1 addition & 0 deletions variant-vipsffmpeg.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV VIPS_RUN_DEPS="gobject-introspection \
libfile-mimeinfo-perl \
libgif-dev \
libgsf-1-114 \
libheif-dev \
libjpeg62-turbo \
libmatio11 \
liborc-0.4-dev \
Expand Down
10 changes: 5 additions & 5 deletions versions.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export PHP82_VERSION=8.2.15
export PHP83_VERSION=8.3.2
export PHP82_VERSION=8.2.16
export PHP83_VERSION=8.3.3
# Pecl ext versions
export PECL_APCU_VERSION=5.1.23
export PECL_MONGODB_VERSION=1.17.2
Expand All @@ -9,15 +9,15 @@ export PECL_VIPS_VERSION=1.0.13
export PECL_XDEBUG_VERSION=3.3.1
# Nginx version
export NGINX_VERSION=1.24.0
export NGINX_NJS_VERSION=0.8.2
export NGINX_NJS_VERSION=0.8.3
export NGINX_PKG_RELEASE=1~bookworm
# Php Security Checker version
export PHP_SECURITY_CHECKER_VERSION=2.0.6
# Composer version
export COMPOSER_VERSION=2.6.6
export COMPOSER_VERSION=2.7.1
# Redis version
export REDIS_PRE_RELEASE=6
export REDIS_VERSION=6.2.13
export REDIS_VERSION=6.2.14
export REDIS_PKG_RELEASE=1rl1~bookworm1
# Supervisor version
export SUPERVISOR_VERSION=4.2.5
Expand Down

0 comments on commit 949bf57

Please sign in to comment.