بنقرة واحدة
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.