mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
ci(docker): bump PHP version to 8.2
This commit is contained in:
parent
6954cd9c55
commit
f4ba39c6f2
4 changed files with 8 additions and 8 deletions
|
@ -8,8 +8,8 @@ Note: commands below should be run from the root of the repository.
|
||||||
### Multi-arch (arm64, amd64)
|
### Multi-arch (arm64, amd64)
|
||||||
Base images:
|
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.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.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-apache . --load -f install/automated/docker/base-php-apache.Dockerfile
|
||||||
```
|
```
|
||||||
DB images:
|
DB images:
|
||||||
```
|
```
|
||||||
|
@ -24,8 +24,8 @@ docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/openvk/openvk/
|
||||||
### Single-arch
|
### Single-arch
|
||||||
Base images:
|
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.2-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-apache . -f install/automated/docker/base-php-apache.Dockerfile
|
||||||
```
|
```
|
||||||
DB images:
|
DB images:
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ARG VERSION=8.1
|
ARG VERSION=8.2
|
||||||
FROM docker.io/php:${VERSION}-apache
|
FROM docker.io/php:${VERSION}-apache
|
||||||
|
|
||||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ARG VERSION=8.1
|
ARG VERSION=8.2
|
||||||
FROM docker.io/php:$VERSION-cli
|
FROM docker.io/php:$VERSION-cli
|
||||||
|
|
||||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
ARG GITREPO=openvk/openvk
|
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
|
WORKDIR /opt
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ RUN yarn install
|
||||||
WORKDIR /opt/chandler/extensions/available/openvk
|
WORKDIR /opt/chandler/extensions/available/openvk
|
||||||
|
|
||||||
ARG GITREPO=openvk/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
|
COPY --from=nodejs --chown=www-data:www-data /opt/chandler /opt/chandler
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue