When I run newapkbuild in a container I get "ERROR: : Do not run abuild as root"
1
vote
1
answer
1149
views
I'm trying to containerize my build work flow. I do not run Alpine on the metal or in a VM but I do launch Alpine Containers.
When building a new Alpine package, I'm using
newapkbuild
but because I'm in a container, the container thinks it's root (though it's mapped to non-root, and the whole container is rootless). But when I run newapkbuild
, I'm getting
/ # /usr/bin/newapkbuild mypackage
>>> ERROR: : Do not run abuild as root
>>> ERROR: : Do not run abuild as root
Asked by Evan Carroll
(34663 rep)
Feb 19, 2021, 06:37 AM
Last activity: Mar 19, 2021, 05:25 PM
Last activity: Mar 19, 2021, 05:25 PM