원클릭으로
alpine-update-packages
Update package versions in templates for Alpine Linux
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Update package versions in templates for Alpine Linux
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Update Packer templates for FreeBSD release changes (BETA, RC, RELEASE)
Update Packer templates for Debian minor release changes (e.g., 13.4 → 13.5)
Create Packer templates for a new OpenBSD version based on an existing version
Update package versions in templates for OpenBSD
Update package versions in templates for FreeBSD
| name | alpine-update-packages |
| description | Update package versions in templates for Alpine Linux |
Detailed instructions for agent to follow when this skill is activated.
When instructed to update package versions in Alpine Linux templates:
Examine the provisioner "shell" blocks within the relevant
.pkr.hcl files.
Identify any packages installed with hardcoded versions specified
in the environment_vars (e.g., PACKAGE_NAME=package=1.2.3-r0).
Packages without explicit versions do not need manual updates, as
apk fetches the latest during build.
For each package with a hardcoded version:
v3.21), repository
(main or community), and architecture (x86_64, aarch64)
based on the template context.https://dl-cdn.alpinelinux.org/alpine/{alpine_version}/{repo}/{arch}/APKINDEX.tar.gz..cache/apkindex/{version}_{repo}_{arch}/).dl-cdn.alpinelinux.org (regardless of which {alpine_version},
{repo}, or {arch} combination was previously downloaded)Parse the APKINDEX metadata to extract package details:
.tar.gz archive to access the plain-
text APKINDEX file.P:).
Each package entry is a block of key-value pairs separated by
newlines, ending with an empty line or the next P: field.P: (e.g., 7zip)V: (e.g., 23.01-r0)A: (e.g.,
x86_64)V:) with the hardcoded version in
your .pkr.hcl file. If they differ, update the hardcoded value
to match the latest available version from the metadata.Validate that the target architecture (A:) matches the template's
intended build environment before applying updates.