Skip to content

Commit d9a715a

Browse files
pascalheidmannicanhazstring
authored andcommitted
Prepare php 8.2 support
1 parent 7629cd7 commit d9a715a

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.docker/php8.2/Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM php:8.2-rc-fpm-alpine
2+
3+
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/bin/
4+
RUN chmod +x /usr/bin/install-php-extensions
5+
RUN install-php-extensions ds xdebug opcache
6+
7+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
8+
ENV COMPOSER_ALLOW_SUPERUSER 1
9+
10+
WORKDIR /docker/composer-unused

.github/workflows/validate-code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
php: [ "7.4", "8.0", "8.1" ]
67+
php: [ "7.4", "8.0", "8.1", "8.2" ]
6868
os: [ "ubuntu-latest" ]
6969
experimental: [ false ]
7070
include:
@@ -96,7 +96,7 @@ jobs:
9696
strategy:
9797
fail-fast: false
9898
matrix:
99-
php: [ "7.4", "8.0", "8.1" ]
99+
php: [ "7.4", "8.0", "8.1", "8.2" ]
100100
os: [ "ubuntu-latest" ]
101101
steps:
102102
- name: Checkout

docker-compose.yml

+7
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ services:
2323
volumes:
2424
- .:/docker/composer-unused:rw
2525
tty: true
26+
27+
php8.2:
28+
build: .docker/php8.2
29+
container_name: composer-unused-8.2
30+
volumes:
31+
- .:/docker/composer-unused:rw
32+
tty: true

0 commit comments

Comments
 (0)