Skip to content

Commit 0e4609e

Browse files
committed
[precompiled]: remove unused pebble binary from Ubuntu 26.04 base image
The ubuntu:resolute-20260901 base image used for the ubuntu26.04 precompiled driver container ships a pebble binary (/usr/bin/pebble, /var/lib/pebble) that this image never uses. The container's entrypoint is nvidia-driver, and pebble isn't invoked anywhere in the driver install or runtime scripts. pebble is currently affected by CVE-2026-39821. Since it's dead weight in this image, strip it out during the build rather than carrying the CVE exposure forward. Signed-off-by: Abrar Shivani <ashivani@nvidia.com>
1 parent 6357f52 commit 0e4609e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ubuntu26.04/precompiled/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ RUN rm -f /etc/apt/sources.list.d/cuda* && \
4040

4141
RUN usermod -o -u 0 -g 0 _apt
4242

43+
# pebble ships in the base image but is unused here; ENTRYPOINT is nvidia-driver, not pebble.
44+
# It isn't dpkg-managed (dpkg -S finds no owning package), so apt/dpkg can't remove it - rm is
45+
# the only option.
46+
RUN rm -rf /usr/bin/pebble /var/lib/pebble
47+
4348
# Install / upgrade packages here that are required to resolve CVEs
4449
ARG CVE_UPDATES
4550
RUN if [ -n "${CVE_UPDATES}" ]; then \

0 commit comments

Comments
 (0)