NOTE:
- This table is NOT complete nor error-free, feel free to extend/fix it.
- Environment variables are mostly for experimental/internal usage and shouldn’t be considered stable
Name & Description | Typical Values |
---|---|
SNAPCRAFT_BUILD_ENVIRONMENT Refer The SNAPCRAFT_BUILD_ENVIRONMENT environment variable for more info |
[host |managed-host |multipass ](The value lxd has been obsoleted in Snapcraft 3.0 new syntax) |
SNAPCRAFT_BUILD_ENVIRONMENT_DISK The allocated virtual storage size for the VM build environment Default value: 256G Source: snapcraft/_multipass.py at 9d353a6305b8006e0bc0e984c87591e5f08fb09d · snapcore/snapcraft NOTE: This environment variable is only honored when the VM is not created yet |
256G |
SNAPCRAFT_BUILD_ENVIRONMENT_CPU The allocated processor cores for the VM build environment Default value: 2 Source: snapcraft/_multipass.py at 9d353a6305b8006e0bc0e984c87591e5f08fb09d · snapcore/snapcraft NOTE: This environment variable is only honored when the VM is not created yet |
2 |
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY The allocated primary memory size for the VM build environment Default value: 4G Source: snapcraft/_multipass.py at 9d353a6305b8006e0bc0e984c87591e5f08fb09d · snapcore/snapcraft NOTE: This environment variable is only honored when the VM is not created yet |
2G (Should be the same argument of multipass launch --mem , amount of memory to allocate in bytes, or with K, M, G suffix) |
SNAPCRAFT_ENABLE_DEVELOPER_DEBUG Enable verbose debugging messages, refer Debugging snapcraft for more info |
`[y |