Created
October 13, 2023 11:15
-
-
Save D3f0/cf88360bae09324ebe2f6fa42b093c44 to your computer and use it in GitHub Desktop.
A Ubuntu 22.04 LTS lima VM with Python3 (3.10) and Invoke (for Apple Sillicon)
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
images: | |
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months. | |
- location: "https://cloud-images.ubuntu.com/releases/22.04/release-20231010/ubuntu-22.04-server-cloudimg-arm64.img" | |
arch: "aarch64" | |
digest: "sha256:5167c1b13cb33274955e36332ecb7b14f02b71fd19a37a9c1a3a0f8a805ab8e5" | |
mounts: | |
- location: "~" | |
- location: "/tmp/lima" | |
writable: true | |
provision: | |
- mode: system | |
script: | | |
#!/bin/bash | |
sudo apt install -yq python3-full python3-pip | |
- mode: user | |
script: | | |
#!/bin/bash | |
python3 -m pip install --user pipx | |
~/.local/bin/pipx ensurepath | |
pipx install invoke |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment