Fix glibc compat: switch to Debian Bullseye base image, bump Copilot CLI to v0.5.1#74
Fix glibc compat: switch to Debian Bullseye base image, bump Copilot CLI to v0.5.1#74
Conversation
…LI to v0.5.1 Co-authored-by: tserra30 <214918293+tserra30@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the Home Assistant add-on container build to address a glibc compatibility issue affecting the bundled GitHub Copilot CLI runtime.
Changes:
- Switch the add-on Docker base image default from Debian Bookworm to Debian Bullseye.
- Bump the pinned GitHub Copilot CLI release from
v0.0.418tov0.5.1.
| ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base-debian:bullseye | ||
| FROM $BUILD_FROM |
There was a problem hiding this comment.
Changing the default BUILD_FROM here likely won’t affect how the add-on is actually built/published, because Home Assistant’s add-on build pipeline typically injects BUILD_FROM from addon/build.yaml (which still points to the bookworm images). As a result, the PR’s stated glibc fix may not take effect unless build.yaml is also updated to bullseye (for both amd64 and aarch64, as applicable).
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: tserra30 <214918293+tserra30@users.noreply.github.com>
Updated build_from:
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bullseye
amd64: ghcr.io/home-assistant/amd64-base-debian:bullseye |
The
bookworm-based image ships a glibc version that causesError relocating /usr/local/bin/copilot: fcntl64: symbol not foundat runtime. Switching tobullseyeresolves the symbol mismatch.Changes
amd64-base-debian:bookworm→amd64-base-debian:bullseye(Debian 11)amd64andaarch64entries frombookwormtobullseye, ensuring the Home Assistant add-on build pipeline injects the correct base imageCOPILOT_VERSIONv0.0.418→v0.5.1Original prompt
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.