Skip to content

Update hermes docker base runner #2776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged

Conversation

danimhr
Copy link
Contributor

@danimhr danimhr commented Jun 11, 2025

Summary

Update the Hermes Docker base image from rust:1.82.0 to debian:bookworm-slim.

Rationale

The current base image rust:1.82.0 has known vulnerabilities, as listed on Docker Hub:
https://hub.docker.com/layers/library/rust/1.82.0/images/sha256-fc4cf6c302df3a3cb211027605fd61447cac29d873692041bd21d22c55b5b459

To improve security and reduce image size, we're switching to bookworm-slim as the base image and installing only the necessary Rust toolchain manually.

How has this been tested?

  • Current tests cover my changes

  • Added new tests

  • Manually tested the code

  • Built the image locally

  • Ran the Hermes service inside the container to ensure correct behavior

  • Verified that the Rust toolchain installs and builds correctly on bookworm-slim

Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 10:11am

@danimhr danimhr merged commit a8b1fa5 into main Jun 11, 2025
11 checks passed
@danimhr danimhr deleted the build/hermes-runner-docker-image branch June 11, 2025 15:00
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