File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ This changelog documents the changes between release versions.
66
77Changes to be included in the next upcoming release
88
9+ ## [ 0.2.9] - 2026.10.28
10+
11+ * Install the patched Ubuntu Noble ` libbrotli1 ` security update (>= ` 1.1.0-2ubuntu0.1 ` ) in the
12+ base image and fail the build if the patched package is missing
13+
914## [ 0.2.8] - 2026.07.27
1015
1116* Migrate OS base image to private Artifact Registry with ` -stable ` alias
Original file line number Diff line number Diff line change 11FROM us-docker.pkg.dev/hasura-container-images/external-images/docker.io/library/ubuntu:noble-stable
22
3- # Install Python 3.12 (Ubuntu Noble default), venv, curl, and git
3+ # Install Python 3.12 (Ubuntu Noble default), venv, curl, and git.
4+ # libbrotli1 is installed explicitly so this layer pulls the patched Ubuntu
5+ # Noble security build (>= 1.1.0-2ubuntu0.1) rather than whatever version the
6+ # base image happens to ship.
47RUN apt-get update && \
58 apt-get install -y --no-install-recommends \
69 python3 \
710 python3-venv \
811 curl \
9- git && \
12+ git \
13+ libbrotli1 && \
1014 apt-get clean && \
1115 rm -rf /var/lib/apt/lists/*
1216
17+ # Fail closed: ensure the patched libbrotli1 security update is present so an
18+ # unpatched base image is never silently treated as fixed.
19+ RUN installed_brotli="$(dpkg-query -W -f='${Version}' libbrotli1)" && \
20+ echo "libbrotli1 installed version: ${installed_brotli}" && \
21+ dpkg --compare-versions "${installed_brotli}" ge 1.1.0-2ubuntu0.1 || \
22+ { echo "ERROR: libbrotli1 ${installed_brotli} is older than required 1.1.0-2ubuntu0.1" >&2; exit 1; }
23+
1324# Create python symlink for compatibility
1425RUN ln -sf /usr/bin/python3 /usr/bin/python
1526
You can’t perform that action at this time.
0 commit comments