Skip to content

Commit 70d8aa2

Browse files
authored
v7.5.0 (#238)
Major updates * Changing the way PHP ini / conf values are overridden (**BREAKING CHANGE**) * Adding opcache and jit support Minor updates * Using latest base images
1 parent ed093df commit 70d8aa2

File tree

20 files changed

+59
-49
lines changed

20 files changed

+59
-49
lines changed

7.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.20-alpine3.15-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.20-alpine3.15-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

8.0/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.22-alpine3.16-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.22-alpine3.16-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

8.1/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.24-alpine3.19-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.24-alpine3.19-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

8.2/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

8.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

8.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /tmp
88
RUN \
99
# get the Nu scripts from the PHP image overlay
1010
echo "Cloning Alpine overlay." && \
11-
apk add git && git clone --branch v2.4.4 https://github.com/bfren/docker-php.git && \
11+
apk add git && git clone --branch v2.4.5 https://github.com/bfren/docker-php.git && \
1212
mkdir /overlay && \
1313
mv docker-php/overlay/etc /overlay/
1414

@@ -17,7 +17,7 @@ RUN \
1717
# STAGE 1: create final image
1818
#======================================================================================================================
1919

20-
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.5 AS final
20+
FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.6 AS final
2121
COPY --from=php /overlay /
2222

2323
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Nginx plus PHP (7.4, 8.0, 8.1, 8.2 and 8.3) - no SSL support etc, designed to be
1111
* `php-fpm`
1212
* `php-session`
1313

14-
Nginx is setup by default to run PHP in FPM mode. To override values in www.conf map a `www-conf.json` file to root - see `www-conf-sample.json`. Values in the php.ini file can be overridden in the same way - see [Docker PHP](https://github.com/bfren/docker-php) for more information and a sample file.
14+
Nginx is setup by default to run PHP in FPM mode. To override values in www.conf map a `xx.json` file to `/etc/bf/php-fpm.d` - see `www-conf-sample.json`. Values in the php.ini file can be overridden in the same way - see [Docker PHP](https://github.com/bfren/docker-php) for more information and a sample file.
1515

1616
## Contents
1717

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4.4
1+
7.5.0

VERSION_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.4
1+
7.5

generate-dockerfiles.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -euo pipefail
44

55
docker pull bfren/alpine
66

7-
BASE_VERSION="6.5.5"
8-
PHP_BRANCH="v2.4.4"
7+
BASE_VERSION="6.5.6"
8+
PHP_BRANCH="v2.4.5"
99
PHP_VERSIONS="7.4 8.0 8.1 8.2 8.3 8.4"
1010

1111
for V in ${PHP_VERSIONS} ; do

0 commit comments

Comments
 (0)