Skip to content

[precompiled]: remove unused pebble binary from Ubuntu 26.04 base image - #1009

Open
abrarshivani wants to merge 1 commit into
NVIDIA:mainfrom
abrarshivani:remove-pebble-ubuntu26
Open

[precompiled]: remove unused pebble binary from Ubuntu 26.04 base image#1009
abrarshivani wants to merge 1 commit into
NVIDIA:mainfrom
abrarshivani:remove-pebble-ubuntu26

Conversation

@abrarshivani

Copy link
Copy Markdown
Contributor

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.

Added a RUN step in ubuntu26.04/precompiled/Dockerfile that removes the
binary and its state directory right after the base package setup.

Verified locally that a build with this change no longer contains any
pebble files.

@abrarshivani abrarshivani self-assigned this Sep 11, 2026
Comment thread ubuntu26.04/precompiled/Dockerfile
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>
Comment on lines +43 to +45
# pebble ships in the base image but is unused here; ENTRYPOINT is nvidia-driver, not pebble.
# It isn't dpkg-managed (dpkg -S finds no owning package), so apt/dpkg can't remove it - rm is
# the only option.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# pebble ships in the base image but is unused here; ENTRYPOINT is nvidia-driver, not pebble.
# It isn't dpkg-managed (dpkg -S finds no owning package), so apt/dpkg can't remove it - rm is
# the only option.
# pebble ships in the base image but is unused here; ENTRYPOINT is nvidia-driver, not pebble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants