From 69012e7ca611c824d988f6e20d6f1d2daf39de5d Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Fri, 13 Nov 2026 14:17:05 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e3089f2..0240540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ RUN composer install --ignore-platform-reqs --optimize-autoloader \ FROM appwrite/base:2.2.11 AS final +RUN apk upgrade --no-cache + LABEL maintainer="team@appwrite.io" WORKDIR /usr/src/code