rpi-image-build
Guide for building Raspberry Pi images locally using the VS Code build tasks that invoke act. Use this when you need a dev or release image and the extracted .img.xz output path.
소스 정보
- 저장소
- netalertx/rpi-image
- 최근 소스 활동
- 2026년 2월 5일 19:40
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- rpi-image-build
- description
- Guide for building Raspberry Pi images locally using the VS Code build tasks that invoke act. Use this when you need a dev or release image and the extracted .img.xz output path.
# Raspberry Pi Image Builds with act
This skill helps you build Raspberry Pi images locally and locate the extracted .img.xz artifacts.
## When to use this skill
Use this skill when you need to:
- Build a development or release Raspberry Pi image from this repo
- Run the existing VS Code tasks instead of invoking act manually
- Confirm where the extracted .img.xz is written
## Running builds
1. Ensure prerequisites are available: Docker and act.
2. Run the appropriate VS Code task:
- **Build RPi Image Locally (dev)** for a development image
- **Build RPi Image Locally (release)** for a production image
3. Locate outputs at the repo root:
- Dev: netalertx-rpi-image-dev/
- Release: netalertx-rpi-image-release/
## Task behavior details
### Build RPi Image Locally (dev)
- **Purpose:** Build the development image locally.
- **Flow:**
- Fixes ownership in /tmp and clears previous artifacts.
- Runs act job build-dev with a privileged container.
- Extracts the resulting .img.xz into netalertx-rpi-image-dev/ at the repo root.
- **Output location:** netalertx-rpi-image-dev/
- **Default build task:** Yes.
### Build RPi Image Locally (release)
- **Purpose:** Build the production (release) image locally.
- **Flow:**
- Fixes ownership in /tmp and clears previous artifacts.
- Runs act job build-release using workflow_dispatch with image_variant=production and a privileged container.
- Extracts the resulting .img.xz into netalertx-rpi-image-release/ at the repo root.
- **Output location:** netalertx-rpi-image-release/
- **Default build task:** No.
## Best practices
- Prefer the dev build when iterating; use release only for production validation.
- Verify Docker is running before launching a build task.
- Clean up /tmp/artifacts if a previous run was interrupted.
GitHub에서 보기