ci(docker): bump PHP version to 8.2

This commit is contained in:
Alexander Minkin 2023-12-10 21:21:50 +03:00
parent 6954cd9c55
commit f4ba39c6f2
Signed by untrusted user: WerySkok
GPG key ID: 88E9A2F3AFE44C30
4 changed files with 8 additions and 8 deletions

View file

@ -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:
```

View file

@ -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/

View file

@ -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

View file

@ -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