Skip to content

Instantly share code, notes, and snippets.

@zschoenstadt
zschoenstadt / Dockerfile
Created April 24, 2026 17:44
Alpine Linux (musl) workaround for running glibc-linked GitHub Copilot CLI — gcompat + libucontext + fcntl64 shim
# ──────────────────────────────────────────────────────────────
# Home Assistant + glibc compatibility for GitHub Copilot SDK
#
# The Copilot SDK ships a native CLI binary linked against glibc.
# The official HA image is Alpine (musl), so we install gcompat
# and supplementary Alpine packages to provide the needed symbols.
# ──────────────────────────────────────────────────────────────
ARG HA_VERSION=stable