build-rpi-dev
星标1
分支1
更新时间2026年1月29日 02:37
Guide for building Raspberry Pi development images locally using the 'act' tool inside the devcontainer.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Guide for building Raspberry Pi development images locally using the 'act' tool inside the devcontainer.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | build-rpi-dev |
| description | Guide for building Raspberry Pi development images locally using the 'act' tool inside the devcontainer. |
This skill helps you build the Raspberry Pi development image locally by executing act within the running Devcontainer.
Use this skill when you need to:
netalertx-rpi-dev.img.xz image.bfc542fa0ee1 is running (docker ps).Run the following command on the host machine. This sends the build instructions into the container.
docker exec -w /workspaces/rpi-image bfc542fa0ee1 bash -c "/workspaces/rpi-image/.devcontainer/scripts/build_local_dev.sh"
rm -rf /tmp/artifacts removes old artifacts to prevent permission errors.act -j build-dev ... runs the GitHub Action job locally.
--container-options "--privileged": Required for loop mounting.--artifact-server-path: Stores artifacts in a temp dir.unzip extracts the resulting zip file to the current directory..img.xz file will be created in the root of the repository.act command might report "Job failed" due to missing tokens for the Release step, but the artifact creation usually succeeds.bfc542fa0ee1) matches your actual running devcontainer.act directly on the host; it lacks the necessary tools and permissions.