Skip to content

Commit ad9f37e

Browse files
authored
Merge pull request #103 from linuxserver/3.23
rebase to alpine 3.23 with php 8.5. Opcache is now built-in.
2 parents 7122f4c + 7bdcaee commit ad9f37e

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

Dockerfile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.21
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.23
44

55
# set version label
66
ARG BUILD_DATE
@@ -16,16 +16,15 @@ RUN \
1616
yarn && \
1717
echo "**** install runtime packages ****" && \
1818
apk add --no-cache \
19-
php83-gd \
20-
php83-intl \
21-
php83-ldap \
22-
php83-opcache \
23-
php83-pdo \
24-
php83-pdo_sqlite \
25-
php83-tokenizer && \
19+
php85-gd \
20+
php85-intl \
21+
php85-ldap \
22+
php85-pdo \
23+
php85-pdo_sqlite \
24+
php85-tokenizer && \
2625
echo "**** configure php-fpm to pass env vars ****" && \
27-
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
28-
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
26+
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php85/php-fpm.d/www.conf && \
27+
grep -qxF 'clear_env = no' /etc/php85/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php85/php-fpm.d/www.conf && \
2928
echo "**** install grocy ****" && \
3029
mkdir -p /app/www && \
3130
if [ -z ${GROCY_RELEASE+x} ]; then \

Dockerfile.aarch64

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.21
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.23
44

55
# set version label
66
ARG BUILD_DATE
@@ -16,16 +16,15 @@ RUN \
1616
yarn && \
1717
echo "**** install runtime packages ****" && \
1818
apk add --no-cache \
19-
php83-gd \
20-
php83-intl \
21-
php83-ldap \
22-
php83-opcache \
23-
php83-pdo \
24-
php83-pdo_sqlite \
25-
php83-tokenizer && \
19+
php85-gd \
20+
php85-intl \
21+
php85-ldap \
22+
php85-pdo \
23+
php85-pdo_sqlite \
24+
php85-tokenizer && \
2625
echo "**** configure php-fpm to pass env vars ****" && \
27-
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
28-
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
26+
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php85/php-fpm.d/www.conf && \
27+
grep -qxF 'clear_env = no' /etc/php85/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php85/php-fpm.d/www.conf && \
2928
echo "**** install grocy ****" && \
3029
mkdir -p /app/www && \
3130
if [ -z ${GROCY_RELEASE+x} ]; then \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
281281

282282
## Versions
283283

284+
* **07.03.26:** - Rebase to Alpine 3.23 with php 8.5.
284285
* **02.05.24:** - Rebase to Alpine 3.21. Add php-opcache package.
285286
* **30.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
286287
* **29.03.24:** - Add `clear_env = no` to `php-fpm` to pass on environment variables to workers threads

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ init_diagram: |
8787
"grocy:latest" <- Base Images
8888
# changelog
8989
changelogs:
90+
- {date: "07.03.26:", desc: "Rebase to Alpine 3.23 with php 8.5."}
9091
- {date: "02.05.24:", desc: "Rebase to Alpine 3.21. Add php-opcache package."}
9192
- {date: "30.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
9293
- {date: "29.03.24:", desc: "Add `clear_env = no` to `php-fpm` to pass on environment variables to workers threads"}

0 commit comments

Comments
 (0)