From 6aa2b425197a86311e95b90d30e208a1cf06e820 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 13 Nov 2026 14:17:09 +0000 Subject: [PATCH] fix: upgrade distro packages in the final stage Packages from the base image and from `apk add` only pick up Alpine security fixes when the build upgrades them, so a rebuild without a base digest change shipped the same vulnerable versions. The daily CVE rebuild job in appwrite/renovate-config relies on a fresh build picking up those fixes. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 18b1e73..9597328 100755 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN composer install --ignore-platform-reqs --optimize-autoloader \ # Executor FROM appwrite/utopia-base:php-8.5-2.1.7@sha256:aa123546fa6cdd6e710107a79b977274f373b08b6186cabb6c16f1937fe1db05 AS final +RUN apk upgrade --no-cache RUN apk add --no-cache docker-cli WORKDIR /usr/local