From 9a0748ea9efc3b59b514c587675ab32798b827f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 7 May 2026 10:05:17 +0000 Subject: [PATCH 1/3] Initial plan From 7de111e866c7ad78134657b892180aed0ce24d13 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 7 May 2026 10:24:29 +0000 Subject: [PATCH 2/3] fix(grocy): drop unavailable ondrej/php PPA; use base image's php8.5 Co-authored-by: Crow-Control <7613738+Crow-Control@users.noreply.github.com> --- apps/grocy/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/grocy/Dockerfile b/apps/grocy/Dockerfile index f560bf427..83ac6fc82 100644 --- a/apps/grocy/Dockerfile +++ b/apps/grocy/Dockerfile @@ -6,14 +6,8 @@ ARG TARGETARCH USER root RUN \ - echo "**** install build packages ****" && \ - apt-get update && \ - apt-get install -y --no-install-recommends \ - software-properties-common \ - gnupg2 && \ - add-apt-repository ppa:ondrej/php -y && \ - apt-get update && \ echo "**** install runtime packages ****" && \ + apt-get update && \ apt-get install -y --no-install-recommends \ php8.5-common \ php8.5-gd \ @@ -50,9 +44,6 @@ RUN \ yarn --production && \ yarn cache clean && \ echo "**** cleanup ****" && \ - apt-get remove -y --purge \ - software-properties-common \ - gnupg2 && \ apt-get autoremove -y && \ rm -rf \ /tmp/* \ From 955480c194e31fe2692d489235fefb8df3de01d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 7 May 2026 10:30:51 +0000 Subject: [PATCH 3/3] =?UTF-8?q?fix(speedtest-tracker):=20bump=20php8.3=20?= =?UTF-8?q?=E2=86=92=20php8.5=20for=20ubuntu=2026.04=20base;=20add=20curl/?= =?UTF-8?q?zip=20exts;=20fix=20speedtest-cli=20arch=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Crow-Control <7613738+Crow-Control@users.noreply.github.com> --- apps/speedtest-tracker/Dockerfile | 33 +++++++++++++++++-------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/apps/speedtest-tracker/Dockerfile b/apps/speedtest-tracker/Dockerfile index 60bda1be8..402f92017 100644 --- a/apps/speedtest-tracker/Dockerfile +++ b/apps/speedtest-tracker/Dockerfile @@ -10,29 +10,32 @@ RUN \ apt-get update && apt-get install -y --no-install-recommends \ grep \ composer \ - php8.3-gd \ - php8.3-intl \ - php8.3-mysql \ - php8.3-pgsql \ - php8.3-sqlite3 \ + php8.5-curl \ + php8.5-gd \ + php8.5-intl \ + php8.5-mysql \ + php8.5-pgsql \ + php8.5-sqlite3 \ php-redis \ - php8.3-xml \ + php8.5-xml \ + php8.5-zip \ postgresql-client \ ssmtp && \ echo "*** install speedtest-cli ***" && \ if [ -z ${CLI_VERSION+x} ]; then \ - CLI_VERSION=$(curl -Ls https://packagecloud.io/ookla/speedtest-cli/debian/dists/bookworm/main/binary-$TARGETARCH/Packages \ + CLI_VERSION=$(curl -fsSL https://packagecloud.io/ookla/speedtest-cli/debian/dists/bookworm/main/binary-$TARGETARCH/Packages \ | sed -n '/Package: speedtest/,/Homepage:/p' \ - | grep -oP 'Version: \K\S+' | cut -d. -f1-3); \ + | grep -oP 'Version: \K\S+' | cut -d. -f1-3 | head -n1); \ fi && \ - curl -o \ - /tmp/speedtest-cli.tgz -L \ - "https://install.speedtest.net/app/cli/ookla-speedtest-${CLI_VERSION}-linux-$TARGETARCH.tgz" && \ + case "$TARGETARCH" in amd64) CLI_ARCH=x86_64 ;; arm64) CLI_ARCH=aarch64 ;; *) CLI_ARCH="$TARGETARCH" ;; esac && \ + curl -fL -o \ + /tmp/speedtest-cli.tgz \ + "https://install.speedtest.net/app/cli/ookla-speedtest-${CLI_VERSION}-linux-${CLI_ARCH}.tgz" && \ tar xzf \ /tmp/speedtest-cli.tgz -C \ /usr/bin && \ echo "**** configure php-fpm to pass env vars ****" && \ - if [ -f /etc/php/8.3/fpm/pool.d/www.conf ]; then sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php/8.3/fpm/pool.d/www.conf && if ! grep -qxF 'clear_env = no' /etc/php/8.3/fpm/pool.d/www.conf; then echo 'clear_env = no' >> /etc/php/8.3/fpm/pool.d/www.conf; fi && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php/8.3/fpm/php-fpm.conf; fi && \ + if [ -f /etc/php/8.5/fpm/pool.d/www.conf ]; then sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php/8.5/fpm/pool.d/www.conf && if ! grep -qxF 'clear_env = no' /etc/php/8.5/fpm/pool.d/www.conf; then echo 'clear_env = no' >> /etc/php/8.5/fpm/pool.d/www.conf; fi && echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php/8.5/fpm/php-fpm.conf; fi && \ echo "*** install speedtest-tracker ***" && \ curl -o \ /tmp/speedtest-tracker.tar.gz -L \ @@ -50,15 +53,15 @@ RUN \ --no-cache && \ npm ci && npm run build && \ echo "**** setup php opcache ****" && \ - mkdir -p /etc/php/8.3/cli/conf.d && \ + mkdir -p /etc/php/8.5/cli/conf.d && \ { \ echo 'opcache.enable_cli=1'; \ - } > /etc/php/8.3/cli/conf.d/opcache-recommended.ini; \ + } > /etc/php/8.5/cli/conf.d/opcache-recommended.ini; \ { \ echo 'post_max_size = 100M'; \ echo 'upload_max_filesize = 100M'; \ echo 'variables_order = EGPCS'; \ - } > /etc/php/8.3/cli/conf.d/php-misc.ini && \ + } > /etc/php/8.5/cli/conf.d/php-misc.ini && \ echo "**** cleanup ****" && \ apt-get autoremove -y && \ rm -rf \