This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| minimumLimaVersion: 2.0.0 | |
| vmType: vz | |
| arch: aarch64 | |
| cpus: 6 | |
| memory: 24 GiB | |
| disk: 20 GiB | |
| # The built-in containerd installer does not support Alpine currently. | |
| # Use a provisioning script to install containerd, buildkit, and nerdctl. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ( | |
| "log" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| "time" | |
| ) | |
| // registers a channel for handling an program kill/interrupt signal | |
| func RegisterInterruptHandler() (interrupt chan os.Signal) { |