Skip to content

Add missing runtime libraries to Docker image - #2594

Merged
fnando merged 1 commit into
mainfrom
docker-deps
May 29, 2026
Merged

Add missing runtime libraries to Docker image#2594
fnando merged 1 commit into
mainfrom
docker-deps

Conversation

@fnando

@fnando fnando commented May 29, 2026

Copy link
Copy Markdown
Member

What

Install ca-certificates, libdbus-1-3, libssl3, and libudev1 in the Docker image.

Why

The image was missing runtime libraries the CLI depends on (broke on #2544), causing it to fail on startup:

$ docker run -it --rm docker.io/stellar/stellar-cli:latest --version
info: component rust-std for target wasm32v1-none is up to date
stellar: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory

ca-certificates is also needed for TLS to remote RPC endpoints.

Known limitations

N/A

Copilot AI review requested due to automatic review settings May 29, 2026 17:02
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX May 29, 2026
@claude

claude Bot commented May 29, 2026

Copy link
Copy Markdown

Claude finished @fnando's task in 1m 1s —— View job


Claude PR Review

  • Read the Dockerfile diff
  • Analyze the changes
  • Check related context (entrypoint, keyring dep)
  • Post review feedback

Summary

Small, well-targeted fix. The image was previously broken at startup because the stellar binary is dynamically linked against libdbus-1.so.3 (via the keyring crate's sync-secret-service feature — see cmd/soroban-cli/Cargo.toml:125), but that library wasn't installed. Adding