diff --git a/Dockerfile b/Dockerfile index e2901e0..4724f56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ghcr.io/sigstore/cosign/cosign:latest AS cosign-bin -FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.22 +FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.24 # set version label ARG BUILD_DATE @@ -21,27 +21,27 @@ RUN --mount=type=bind,from=cosign-bin,source=/ko-app/cosign,target=/usr/local/bi grep \ imagemagick \ jpegoptim \ - php84-bcmath \ - php84-dom \ - php84-exif \ - php84-gd \ - php84-intl \ - php84-ldap \ - php84-mysqli \ - php84-pdo_mysql \ - php84-pdo_pgsql \ - php84-pdo_sqlite \ - php84-pecl-imagick \ - php84-pecl-redis \ - php84-pgsql \ - php84-sodium \ - php84-sqlite3 \ - php84-tokenizer \ + php85-bcmath \ + php85-dom \ + php85-exif \ + php85-gd \ + php85-intl \ + php85-ldap \ + php85-mysqli \ + php85-pdo_mysql \ + php85-pdo_pgsql \ + php85-pdo_sqlite \ + php85-pecl-imagick \ + php85-pecl-redis \ + php85-pgsql \ + php85-sodium \ + php85-sqlite3 \ + php85-tokenizer \ postgresql16-client \ unzip && \ echo "**** configure php-fpm to pass env vars ****" && \ - sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php84/php-fpm.d/www.conf && \ - if ! grep -qxF 'clear_env = no' /etc/php84/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php84/php-fpm.d/www.conf; fi && \ + sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php85/php-fpm.d/www.conf && \ + if ! grep -qxF 'clear_env = no' /etc/php85/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php85/php-fpm.d/www.conf; fi && \ echo "**** install lychee ****" && \ if [ -z "${LYCHEE_VERSION}" ]; then \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 3558a96..e905235 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -2,7 +2,7 @@ FROM ghcr.io/sigstore/cosign/cosign:latest AS cosign-bin -FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.22 +FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.24 # set version label ARG BUILD_DATE @@ -21,27 +21,27 @@ RUN --mount=type=bind,from=cosign-bin,source=/ko-app/cosign,target=/usr/local/bi grep \ imagemagick \ jpegoptim \ - php84-bcmath \ - php84-dom \ - php84-exif \ - php84-gd \ - php84-intl \ - php84-ldap \ - php84-mysqli \ - php84-pdo_mysql \ - php84-pdo_pgsql \ - php84-pdo_sqlite \ - php84-pecl-imagick \ - php84-pecl-redis \ - php84-pgsql \ - php84-sodium \ - php84-sqlite3 \ - php84-tokenizer \ + php85-bcmath \ + php85-dom \ + php85-exif \ + php85-gd \ + php85-intl \ + php85-ldap \ + php85-mysqli \ + php85-pdo_mysql \ + php85-pdo_pgsql \ + php85-pdo_sqlite \ + php85-pecl-imagick \ + php85-pecl-redis \ + php85-pgsql \ + php85-sodium \ + php85-sqlite3 \ + php85-tokenizer \ postgresql16-client \ unzip && \ echo "**** configure php-fpm to pass env vars ****" && \ - sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php84/php-fpm.d/www.conf && \ - if ! grep -qxF 'clear_env = no' /etc/php84/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php84/php-fpm.d/www.conf; fi && \ + sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php85/php-fpm.d/www.conf && \ + if ! grep -qxF 'clear_env = no' /etc/php85/php-fpm.d/www.conf; then echo 'clear_env = no' >> /etc/php85/php-fpm.d/www.conf; fi && \ echo "**** install lychee ****" && \ if [ -z "${LYCHEE_VERSION}" ]; then \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ diff --git a/README.md b/README.md index d86e817..e8e7153 100644 --- a/README.md +++ b/README.md @@ -323,6 +323,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **05.07.26:** - Rebase to Alpine 3.24. * **09.07.25:** - Add php84-ldap as dependency. * **09.07.25:** - Rebase to Alpine 3.22. * **03.12.24:** - Verify build artifacts with cosign. diff --git a/readme-vars.yml b/readme-vars.yml index ad21db1..07c2c3c 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -114,6 +114,7 @@ init_diagram: | "lychee:latest" <- Base Images # changelog changelogs: + - {date: "05.07.26:", desc: "Rebase to Alpine 3.24."} - {date: "09.07.25:", desc: "Add php84-ldap as dependency."} - {date: "09.07.25:", desc: "Rebase to Alpine 3.22."} - {date: "03.12.24:", desc: "Verify build artifacts with cosign."} diff --git a/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run b/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run index 351400b..a8c6046 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run @@ -30,8 +30,8 @@ if [[ ! -L /app/www/storage/logs ]]; then fi cp -n /defaults/user.ini /config/user.ini 2> >(grep -v 'cp: not replacing') -rm -rf /etc/php84/conf.d/99-user.ini -ln -s /config/user.ini /etc/php84/conf.d/99-user.ini +rm -rf /etc/php85/conf.d/99-user.ini +ln -s /config/user.ini /etc/php85/conf.d/99-user.ini cd /app/www || exit 1