Closed lgrosz closed 1 year ago
This post details two solutions...
This options makes pushing images to registries kind of pointless, and would be more of a hassle for the user, especially if the build has a bunch of build arguments like TARGET_PLATFORM
later-on.
This is what crops/poky-container does. It may require sudo
, maybe not depending on how the dockerfile is setup.
crops/poky-container has a couple scripts, see poky-entry.py, which avoid contaminating the build volume with container uids.
This seems like a standard problem in the docker world, so see if there's some standard way of solving it. Requirements would be...
sudo
packagebitbake
must be ran as non-root