Oops. I didn’t notice the link.Thanks.
It works, but there is a caveat: the srtool container runs with internal user builder (uid = 1001). If your local user doesn’t have the same uid you have to chmod 777 runtime/gdev or the build fails with error: failed to create directory '/build/runtime/gdev/target'.
I’ve also tested the build using srtool-cli (same caveat as above).