Files
hassio-addons/.claude/skills/hassio-addon-workflow
Alexandre 1c888badc7 fix(zoraxy): restore apk removed by the upstream image build (#3024)
* fix(zoraxy): restore apk removed by the upstream image build

Upstream's image build has ended with "rm -rf /sbin/apk" since v3.3.4. The
binary is deleted but /etc/apk (repositories, keys, world) and /lib/apk/db
survive, so package management is recoverable. The image also ships neither
bash nor curl, so ha_automodules.sh failed with "apt-get: not found / apk:
not found" (exit 127) and both architectures failed to build.

Restore the statically-linked apk binary from an Alpine build stage before the
shared module and package scripts run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(zoraxy): keep BUILD_FROM a global build arg

Declaring the tools stage above the ARG lines scoped BUILD_FROM to that stage,
so the final FROM resolved to an empty base name. Move both global ARGs above
the first FROM.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* docs(skill): record the global-ARG and vanishing-package-manager traps

Both cost a CI cycle on PR #3024: a tools stage inserted above ARG BUILD_FROM
demoted it to stage scope, and the upstream image had started deleting
/sbin/apk between releases.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 07:12:21 +02:00
..