Skip to content

Added BusyBox to Hasura builds#934

Merged
chrismaddalena merged 5 commits into
masterfrom
hotfix/bug-fixes
Jul 9, 2026
Merged

Added BusyBox to Hasura builds#934
chrismaddalena merged 5 commits into
masterfrom
hotfix/bug-fixes

Conversation

@chrismaddalena

Copy link
Copy Markdown
Collaborator

The Hasura base image uses Ubuntu Jammy, and installing curl during emulated linux/arm64 builds can trigger libc-bin post-installation failures under QEMU.

The Hasura base image uses Ubuntu Jammy, and installing `curl` during emulated `linux/arm64` builds can trigger `libc-bin` post-installation failures under QEMU. This was causing image builds to fail after tagging a release.
Copilot AI review requested due to automatic review settings July 9, 2026 04:48

Copilot AI left a comment

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.

Pull request overview

This PR updates the Hasura container build and Compose healthchecks to avoid installing curl in the Hasura base image (Ubuntu Jammy), which can fail during emulated linux/arm64 builds under QEMU. It instead bundles a BusyBox binary into the Hasura image and uses BusyBox wget for the /healthz probe.

Changes:

  • Added a BusyBox multi-stage build step and copied /bin/busybox into the Hasura image for use by healthchecks.
  • Switched Compose healthcheck commands (local, production, and CLI) from curl to BusyBox wget.
  • Documented the change in the changelog for v7.2.2.

Reviewed changes

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

Show a summary per file
File Description
production.yml Updates Hasura service healthcheck to use BusyBox wget instead of curl.
local.yml Updates local Hasura service healthcheck to use BusyBox wget.
gw-cli.yml Updates CLI Compose Hasura image healthcheck to use BusyBox wget.
compose/production/hasura/Dockerfile Removes apt-get install curl and copies BusyBox into the image for healthchecks.
compose/local/hasura/Dockerfile Removes apt-get install curl and copies BusyBox into the image for healthchecks.
CHANGELOG.md Adds release note for v7.2.2 describing the BusyBox healthcheck change and rationale.

@augmentcode

augmentcode Bot commented Jul 9, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: This PR updates the Hasura GraphQL container images to avoid installing extra packages during multi-arch builds.

Changes:

  • Removes the Dockerfile apt-get install curl step from Hasura images
  • Adds a BusyBox multi-stage copy to provide a lightweight healthcheck tool
  • Updates Compose healthchecks to use BusyBox wget against /healthz
  • Documents the change and rationale in the changelog (QEMU libc-bin postinst failures)

Technical Notes: Health checks now run entirely from the bundled BusyBox binary, avoiding emulated package installs on Ubuntu Jammy.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment thread compose/local/hasura/Dockerfile
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.65%. Comparing base (3e68ab1) to head (1ae24ed).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #934   +/-   ##
=======================================
  Coverage   93.65%   93.65%           
=======================================
  Files         422      422           
  Lines       30725    30725           
=======================================
  Hits        28777    28777           
  Misses       1948     1948           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chrismaddalena chrismaddalena merged commit ee81647 into master Jul 9, 2026
11 checks passed
@chrismaddalena chrismaddalena deleted the hotfix/bug-fixes branch July 9, 2026 07:33
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