mirror of
https://github.com/lima-vm/lima.git
synced 2026-10-28 11:44:35 +08:00
Alpine Linux supports multiple concurrent minor releases, so
template:alpine should be split into versioned templates, similar to
template:debian-{11,12,13} and template:almalinux-{8,9,10}.
Changes:
- Add versioned image templates: _images/alpine-{3.21,3.22,3.23}.yaml
- Add versioned top-level templates: alpine-{3.21,3.22,3.23}.yaml
- Make template:alpine an alias for template:alpine-3.23 (latest)
- Update hack/update-template-alpine.sh to preserve the minor version
from the template URL instead of defaulting to latest-stable, so it
only updates the patch release within the same minor version
- Update templates/README.md with the new versioned entries
Signed-off-by: Mysterio-17 <mradultiwari1708@gmail.com>
16 lines
437 B
YAML
16 lines
437 B
YAML
minimumLimaVersion: 2.0.0
|
|
|
|
base:
|
|
- template:_images/alpine-3.23
|
|
- template:_default/mounts
|
|
|
|
# The built-in containerd installer does not support Alpine currently.
|
|
# Use a provisioning script to install containerd, buildkit, and nerdctl.
|
|
#
|
|
# NOTE: Starting with Lima v2.0, nerdctl version must be v2.1.6 or later to
|
|
# enable port forwarding in rootful mode.
|
|
# Available in apk since Alpine 3.22.
|
|
containerd:
|
|
system: false
|
|
user: false
|