Skip to content

Fix distroless healthcheck#1896

Open
Neopallium wants to merge 2 commits intodevelop_v8from
fix_distroless_healthcheck
Open

Fix distroless healthcheck#1896
Neopallium wants to merge 2 commits intodevelop_v8from
fix_distroless_healthcheck

Conversation

@Neopallium
Copy link
Contributor

@Neopallium Neopallium commented Mar 6, 2026

changelog

other

  • Fix docker HEALTHCHECK in our Distroless image.
  • Update RPC port to 9944 in health-check and rotate-keys tools.

@Neopallium Neopallium changed the base branch from develop to develop_v8 March 6, 2026 18:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the Docker HEALTHCHECK instruction in the distroless image. The gcr.io/distroless/cc base image contains no shell, but Docker's HEALTHCHECK CMD in shell form requires /bin/sh to be present. The fix introduces a new BusyBox build stage and copies /bin/sh from it into the final image.

Changes:

  • Adds a busybox:stable-uclibc intermediate build stage
  • Copies /bin/sh from BusyBox into the distroless final image to satisfy the shell requirement of the HEALTHCHECK instruction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Neopallium Neopallium force-pushed the fix_distroless_healthcheck branch from dc769c9 to 9271b7d Compare March 6, 2026 18:51
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