From f4ba39c6f2d4f573abed7677a29a356f6a4168a1 Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Sun, 10 Dec 2023 21:21:50 +0300 Subject: [PATCH] ci(docker): bump PHP version to 8.2 --- install/automated/docker/Readme.md | 8 ++++---- install/automated/docker/base-php-apache.Dockerfile | 2 +- install/automated/docker/base-php-cli.Dockerfile | 2 +- install/automated/docker/openvk.Dockerfile | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/install/automated/docker/Readme.md b/install/automated/docker/Readme.md index d444b64f..29794563 100644 --- a/install/automated/docker/Readme.md +++ b/install/automated/docker/Readme.md @@ -8,8 +8,8 @@ Note: commands below should be run from the root of the repository. ### Multi-arch (arm64, amd64) Base images: ``` -docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/php:8.1-cli . --load -f install/automated/docker/base-php-cli.Dockerfile -docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/php:8.1-apache . --load -f install/automated/docker/base-php-apache.Dockerfile +docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/php:8.2-cli . --load -f install/automated/docker/base-php-cli.Dockerfile +docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/php:8.2-apache . --load -f install/automated/docker/base-php-apache.Dockerfile ``` DB images: ``` @@ -24,8 +24,8 @@ docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/ ### Single-arch Base images: ``` -docker build -t ghcr.io/openvk/openvk/php:8.1-cli . -f install/automated/docker/base-php-cli.Dockerfile -docker build -t ghcr.io/openvk/openvk/php:8.1-apache . -f install/automated/docker/base-php-apache.Dockerfile +docker build -t ghcr.io/openvk/openvk/php:8.2-cli . -f install/automated/docker/base-php-cli.Dockerfile +docker build -t ghcr.io/openvk/openvk/php:8.2-apache . -f install/automated/docker/base-php-apache.Dockerfile ``` DB images: ``` diff --git a/install/automated/docker/base-php-apache.Dockerfile b/install/automated/docker/base-php-apache.Dockerfile index 3ead71f0..15f1e5cc 100644 --- a/install/automated/docker/base-php-apache.Dockerfile +++ b/install/automated/docker/base-php-apache.Dockerfile @@ -1,4 +1,4 @@ -ARG VERSION=8.1 +ARG VERSION=8.2 FROM docker.io/php:${VERSION}-apache COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ diff --git a/install/automated/docker/base-php-cli.Dockerfile b/install/automated/docker/base-php-cli.Dockerfile index e236e3d6..d7538030 100644 --- a/install/automated/docker/base-php-cli.Dockerfile +++ b/install/automated/docker/base-php-cli.Dockerfile @@ -1,4 +1,4 @@ -ARG VERSION=8.1 +ARG VERSION=8.2 FROM docker.io/php:$VERSION-cli COPY --from=composer:2 /usr/bin/composer /usr/bin/composer diff --git a/install/automated/docker/openvk.Dockerfile b/install/automated/docker/openvk.Dockerfile index 389f7443..b78f6980 100644 --- a/install/automated/docker/openvk.Dockerfile +++ b/install/automated/docker/openvk.Dockerfile @@ -1,5 +1,5 @@ ARG GITREPO=openvk/openvk -FROM ghcr.io/${GITREPO}/php:8.1-cli as builder +FROM ghcr.io/${GITREPO}/php:8.2-cli as builder WORKDIR /opt @@ -38,7 +38,7 @@ RUN yarn install WORKDIR /opt/chandler/extensions/available/openvk ARG GITREPO=openvk/openvk -FROM ghcr.io/${GITREPO}/php:8.1-apache +FROM ghcr.io/${GITREPO}/php:8.2-apache COPY --from=nodejs --chown=www-data:www-data /opt/chandler /opt/chandler