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_ENVIRONMENTRefer 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_DISKThe allocated virtual storage size for the VM build environment Default value: 256GSource: 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_CPUThe allocated processor cores for the VM build environment Default value: 2Source: 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_MEMORYThe allocated primary memory size for the VM build environment Default value: 4GSource: 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_DEBUGEnable verbose debugging messages, refer Debugging snapcraft for more info |
`[y |
