For a package we need gnome-42-2204 because it fixes an issue where video channels are inverted (so video result in blue faces in general).
So, we use core22, built https://github.com/snapcore/snapcraft/blob/main/docker/Dockerfile (with core22 and not core20).
Basically, we use ubuntu=jammy ; and copied the logic for core20 with core22
However, lxd or multipass are not installed, so this causes the build to fail because in the Docker we will see: “LXD is required but not installed. Do you wish to install LXD and configure it with the defaults? [y/N]:”
ENVIRONMENT=host can’t be used, cause “snap install snapcraft” will not work in the builder part ( https://github.com/snapcore/snapcraft/blob/main/docker/Dockerfile)
So, wondering what can be the good method to build a snap based with core22 (it was working fine 3 weeks ago.) inside a docker?
Second question, lxd with core22 also seems to fail:
“Ensure prerequisites for “snapcraft” are available (cannot install snap base “core20”)” which seems weird as we try to use core22 here.