Skip to content

Commit 2642a1d

Browse files
authored
Merge pull request #811 from AkihiroSuda/ubuntu-22.04
examples: update Ubuntu (22.04), Debian, Arch; nerdctl: update to v0.19.0
2 parents e82db87 + 8368fe5 commit 2642a1d

18 files changed

+87
-102
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Especially, the following data might be easily lost:
240240
See [`./examples/default.yaml`](./examples/default.yaml).
241241

242242
The current default spec:
243-
- OS: Ubuntu 21.10 (Impish Indri)
243+
- OS: Ubuntu 22.04 (Jammy Jellyfish)
244244
- CPU: 4 cores
245245
- Memory: 4 GiB
246246
- Disk: 100 GiB

docs/multi-arch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ arch: "x86_64"
1313
# arch: "aarch64"
1414

1515
images:
16-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
16+
- location: "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
1717
arch: "x86_64"
18-
- location: "https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
18+
- location: "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img"
1919
arch: "aarch64"
2020

2121
# Disable mounts and containerd, otherwise booting up may timeout if the host is slow

examples/alpine.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This example requires Lima v0.7.0 or later.
22
images:
3-
- location: https://github.com/lima-vm/alpine-lima/releases/download/v0.2.8/alpine-lima-std-3.14.3-x86_64.iso
3+
- location: "https://github.com/lima-vm/alpine-lima/releases/download/v0.2.11/alpine-lima-std-3.15.4-x86_64.iso"
44
arch: "x86_64"
5-
digest: "sha512:258997ba6edf8b138947bc81f4d4ab025e56c87ada85d96bed9d249dfd1196f5a073881ce54afaa32bfe27e069312096a14944eb9afbf116d02eaa12bd7744b2"
6-
- location: https://github.com/lima-vm/alpine-lima/releases/download/v0.2.8/alpine-lima-std-3.14.3-aarch64.iso
5+
digest: "sha512:58b0003400aa5e54c54970a1a4d2376b3d3d6b48fffa5e21ea5b814f398920d6d38957f2a603520c03bdca178046915e198039243f296adf75ea380e02154aa5"
6+
- location: "https://github.com/lima-vm/alpine-lima/releases/download/v0.2.11/alpine-lima-std-3.15.4-aarch64.iso"
77
arch: "aarch64"
8-
digest: "sha512:4d4d2d6e292b2a40c3a936b6c517168c3a569fb6d46c9ba7a3ab708d9d274baa9b2fd2f8b8b21d398042c0863d49a72c9788d6e3a4eadceae2d9f57183a29693"
8+
digest: "sha512:3449965ae57cef13e9af7797c064431bfee1a5132f5f4c181ff72ab19bacdc870d66dda44511a8214ba17e1d1f554bb34ebeb55da923290cf6598980c4077941"
99

1010
mounts:
1111
- location: "~"

examples/archlinux.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# This example requires Lima v0.7.0 or later
22
images:
3+
# Try to use yyyyMMdd.REV image if available. Note that yyyyMMdd.REV will be removed after several months.
4+
- location: "https://mirror.pkgbuild.com/images/v20220415.53207/Arch-Linux-x86_64-cloudimg-20220415.53207.qcow2"
5+
arch: "x86_64"
6+
digest: "sha256:04db7dddfec7cff457c3d76f5cd4724725233129fc0fc1b6c0198f3bb728e116"
37
- location: "https://github.com/mcginty/arch-boxes/releases/download/v20220323/Arch-Linux-aarch64-cloudimg-20220323.0.qcow2"
48
arch: "aarch64"
59
digest: "sha512:27524910bf41cb9b3223c8749c6e67fd2f2fdb8b70d40648708e64d6b03c0b4a01b3c5e72d51fefd3e0c3f58487dbb400a79ca378cde2da341a3a19873612be8"
6-
# NOTE: the image is periodically rotated, if you face 404, see https://mirror.pkgbuild.com/images/ to find the latest image.
7-
- location: "https://mirror.pkgbuild.com/images/v20220301.49177/Arch-Linux-x86_64-cloudimg-20220301.49177.qcow2"
10+
# Fallback to the latest release image.
11+
# Hint: run `limactl prune` to invalidate the cache
12+
- location: "https://mirror.pkgbuild.com/images/latest/Arch-Linux-x86_64-cloudimg.qcow2"
813
arch: "x86_64"
9-
digest: "sha256:613aa264a6ac4e9352e3a72e28840a51a3416db882d5881cc4efb30116605582"
14+
1015
mounts:
1116
- location: "~"
1217
- location: "/tmp/lima"

examples/buildkit.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ message: |
1212
-------
1313
images:
1414
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
15-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
15+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
1616
arch: "x86_64"
17-
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
18-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
17+
digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
18+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
1919
arch: "aarch64"
20-
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
20+
digest: "sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
2121
# Fallback to the latest release image.
2222
# Hint: run `limactl prune` to invalidate the cache
23-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
23+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
2424
arch: "x86_64"
25-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
25+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
2626
arch: "aarch64"
2727

2828
containerd:

examples/debian.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This example requires Lima v0.7.0 or later
22
images:
3-
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20220226-930/debian-11-generic-amd64-daily-20220226-930.qcow2"
3+
- location: "https://cloud.debian.org/images/cloud/bullseye/20220328-962/debian-11-generic-amd64-20220328-962.qcow2"
44
arch: "x86_64"
5-
digest: "sha512:a500f466bc44360a945f597e326b30948e041b2f7d49f79f1ea32d61135aff4eb7171ff175cd4084c8d324e422e228fb64418cb3019864336fb911be3b539f80"
6-
- location: "https://cloud.debian.org/images/cloud/bullseye/daily/20220226-930/debian-11-generic-arm64-daily-20220226-930.qcow2"
5+
digest: "sha512:5444ecaedcadc20e032e622a8a95f40d157c6abc68aeba1c97ef568e1a704c936848b6b05d1ed574f7e7ee53d219a6a3e7d764a5851dd6f353899a36479fa4f4"
6+
- location: "https://cloud.debian.org/images/cloud/bullseye/20220328-962/debian-11-generic-arm64-20220328-962.qcow2"
77
arch: "aarch64"
8-
digest: "sha512:43dcd8f1c552e03cbd4ac713db80212bb756a218beca23f5ce227dfa678964093eb23a5b9b175cd72c0a8443eedd305a7047faeae6165091ffa5feb32eacc40f"
8+
digest: "sha512:8fb285fa0faf1a18f40ee426ff5bb2c8f7dd3ad01c38dbd6cc54102aedb4bb58fd88bf7b28f4b53b1a0ab0ea4fde31055d140170b83c8ed7b1077d84ec02442b"
99
mounts:
1010
- location: "~"
1111
- location: "/tmp/lima"

examples/default.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ arch: null
1111

1212
# OpenStack-compatible disk image.
1313
# 🟢 Builtin default: null (must be specified)
14-
# 🔵 This file: Ubuntu 21.10 Impish Indri images
14+
# 🔵 This file: Ubuntu 22.04 Jammy Jellyfish images
1515
images:
1616
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
17-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
17+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
1818
arch: "x86_64"
19-
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
20-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
19+
digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
20+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
2121
arch: "aarch64"
22-
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
22+
digest: "sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
2323
# Fallback to the latest release image.
2424
# Hint: run `limactl prune` to invalidate the cache
25-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
25+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
2626
arch: "x86_64"
27-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
27+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
2828
arch: "aarch64"
2929

3030
# CPUs: if you see performance issues, try limiting cpus to 1.

examples/docker.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
# This example requires Lima v0.8.0 or later
1010
images:
1111
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
12-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
12+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
1313
arch: "x86_64"
14-
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
15-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
14+
digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
15+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
1616
arch: "aarch64"
17-
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
17+
digest: "sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
1818
# Fallback to the latest release image.
1919
# Hint: run `limactl prune` to invalidate the cache
20-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
20+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
2121
arch: "x86_64"
22-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
22+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
2323
arch: "aarch64"
2424

2525
mounts:

examples/experimental/9p.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
# This example is planned to be merged to default.yaml in Lima v1.0 (ETA: 2022 Q2).
44
images:
55
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
6-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-amd64.img"
6+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
77
arch: "x86_64"
8-
digest: "sha256:73fe1785c60edeb506f191affff0440abcc2de02420bb70865d51d0ff9b28223"
9-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release-20220201/ubuntu-21.10-server-cloudimg-arm64.img"
8+
digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
9+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
1010
arch: "aarch64"
11-
digest: "sha256:1b5b3fe616e1eea4176049d434a360344a7d471f799e151190f21b0a27f0b424"
11+
digest: "sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
1212
# Fallback to the latest release image.
1313
# Hint: run `limactl prune` to invalidate the cache
14-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-amd64.img"
14+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
1515
arch: "x86_64"
16-
- location: "https://cloud-images.ubuntu.com/releases/21.10/release/ubuntu-21.10-server-cloudimg-arm64.img"
16+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
1717
arch: "aarch64"
1818

1919
mounts:

examples/faasd.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@
1717
#
1818
# This example requires Lima v0.7.0 or later.
1919

20-
# Image is set to focal (20.04 LTS) for long-term stability
20+
# Image is set to jammy (22.04 LTS) for long-term stability
2121
images:
2222
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
23-
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-amd64.img"
23+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-amd64.img"
2424
arch: "x86_64"
25-
digest: "sha256:243157ea0390890d6e60ce5e08e0249b16e23b6b313b63aed50f39f92b020afe"
26-
- location: "https://cloud-images.ubuntu.com/releases/20.04/release-20220302/ubuntu-20.04-server-cloudimg-arm64.img"
25+
digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd"
26+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20220420/ubuntu-22.04-server-cloudimg-arm64.img"
2727
arch: "aarch64"
28-
digest: "sha256:fb2b4efdbf0011bd2a9fd49e9d31efdd252966c889f07b5d246351ec5734a329"
28+
digest: "sha256:66224c7fed99ff5a5539eda406c87bbfefe8af6ff6b47d92df3187832b5b5d4f"
2929
# Fallback to the latest release image.
3030
# Hint: run `limactl prune` to invalidate the cache
31-
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
31+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
3232
arch: "x86_64"
33-
- location: "https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
33+
- location: "https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
3434
arch: "aarch64"
3535

3636
# Mounts are disabled in this example, but can be enabled optionally.
@@ -45,7 +45,7 @@ provision:
4545
- mode: system
4646
script: |
4747
#!/bin/sh
48-
curl -sfL https://raw.githubusercontent.com/openfaas/faasd/master/hack/install.sh | sh -s -
48+
curl -sfL https://raw.githubusercontent.com/openfaas/faasd/master/hack/install.sh | bash -s -
4949
5050
probes:
5151
- script: |

0 commit comments

Comments
 (0)