Skip to content

Commit cdeab0e

Browse files
committed
Adding PHP 8.5
1 parent 85e13c9 commit cdeab0e

File tree

9 files changed

+50
-4
lines changed

9 files changed

+50
-4
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
17+
php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5" ]
1818
runs-on: ubuntu-latest
1919
steps:
2020
-

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
13+
php: [ "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5" ]
1414
runs-on: ubuntu-latest
1515
steps:
1616
-

8.5/Dockerfile

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#======================================================================================================================
2+
# STAGE 0: get Nu scripts from the PHP image overlay
3+
#======================================================================================================================
4+
5+
FROM quay.io/bfren/alpine AS php
6+
7+
WORKDIR /tmp
8+
RUN \
9+
# get the Nu scripts from the PHP image overlay
10+
echo "Cloning Alpine overlay." && \
11+
apk add git && git clone --branch v3.0.1 https://github.com/bfren/docker-php.git && \
12+
mkdir /overlay && \
13+
mv docker-php/overlay/etc /overlay/
14+
15+
16+
#======================================================================================================================
17+
# STAGE 1: create final image
18+
#======================================================================================================================
19+
20+
FROM quay.io/bfren/nginx:nginx1.28-alpine3.22-7.0.1 AS final
21+
COPY --from=php /overlay /
22+
23+
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
24+
25+
ARG BF_IMAGE
26+
ARG BF_PUBLISHING
27+
ARG BF_VERSION
28+
29+
COPY ./overlay /
30+
COPY ./8.4/overlay /
31+
32+
ENV \
33+
# PHP config directory
34+
BF_PHP_DIR="/etc/php84" \
35+
# offical php.ini template to download
36+
BF_PHP_ENV="production" \
37+
# space-separated extensions to install on startup
38+
BF_PHP_EXT= \
39+
# PHP package prefix
40+
BF_PHP_PREFIX="php84"
41+
42+
RUN bf-install

8.5/NGINX_BASE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nginx1.28-alpine3.23

8.5/PHP_PREFIX

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
php84

8.5/overlay/tmp/PHP_BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.4.14-r0

8.5/overlay/tmp/PHP_REVISION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.4.14

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
IMAGE=`cat VERSION`
4-
PHP=${1:-8.4}
4+
PHP=${1:-8.5}
55

66
docker buildx build \
77
--load \

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
IMAGE=nginx-php
44
VERSION=`cat VERSION`
5-
PHP=${1:-8.4}
5+
PHP=${1:-8.5}
66
TAG=${IMAGE}-test
77

88
docker buildx build \

0 commit comments

Comments
 (0)