Skip to content

Commit 467cfe7

Browse files
Merge pull request #225 from feature/php8.3
Add PHP 8.3 build (experimental)
2 parents 236fe14 + cd93825 commit 467cfe7

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

.docker/php8.2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.2.0RC5-alpine
1+
FROM php:8.2-alpine
22

33
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
44
RUN install-php-extensions zip

.docker/php8.3/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM php:8.3.0RC2-alpine
2+
3+
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
4+
RUN install-php-extensions zip
5+
6+
RUN apk add ncurses \
7+
&& apk add gnupg \
8+
&& apk add bash
9+
10+
COPY --from=composer/composer:2-bin /composer /usr/bin/composer
11+
ENV COMPOSER_ALLOW_SUPERUSER 1
12+
13+
WORKDIR /docker
14+
# Workaround to keep container running
15+
CMD ["tail", "-f", "/dev/null"]

.github/workflows/integration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- php: 7.4
1717
buildphar: false
1818
experimental: false
19+
- php: 8.3
20+
buildphar: false
21+
experimental: true
1922
env:
2023
PHAR: build/phar/captainhook.phar
2124

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@ services:
3535
volumes:
3636
- .:/docker:rw
3737
tty: true
38+
39+
php8.3:
40+
build: .docker/php8.3
41+
container_name: captainhook-php8.3
42+
volumes:
43+
- .:/docker:rw
44+
tty: true

0 commit comments

Comments
 (0)