force a fresh apt-get upgrade in docker images via APT_REFRESH (#12026)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-10-26 18:06:25 +01:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 6939454edb
commit cd4e55de7d
3 changed files with 14 additions and 4 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ ENV UV_TOOL_DIR=/usr/local/uv
ENV PATH=/usr/local/bin:/root/.local/bin:/tmp/.local/bin:$PATH
# Install system dependencies
RUN apt-get update \
# Bump to force a fresh apt-get upgrade past the build cache; keep in step with ../Dockerfile.
ARG APT_REFRESH=1
RUN echo "apt refresh ${APT_REFRESH}" \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends ca-certificates wget curl git jq unzip unixodbc xmlsec1 gnupg lsb-release libgnutls30t64 libgcrypt20 \
&& apt-get clean \
+4 -1
View File
@@ -44,7 +44,10 @@ ENV UV_TOOL_DIR=/usr/local/uv
ENV PATH=/usr/local/bin:/root/.local/bin:/tmp/.local/bin:$PATH
# Install system dependencies
RUN apt-get update \
# Bump to force a fresh apt-get upgrade past the build cache; keep in step with ../Dockerfile.
ARG APT_REFRESH=1
RUN echo "apt refresh ${APT_REFRESH}" \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends ca-certificates wget curl git jq unzip unixodbc xmlsec1 gnupg lsb-release libgnutls30t64 libgcrypt20 \
&& apt-get clean \