Include:AbuildRootBld: Difference between revisions

From Alpine Linux
m (using Cmd format)
(Added link to Build_with_abuild_rootbld_in_Docker_container)
Line 4: Line 4:


If the build process needs network access there has to bet set the '''net''' option in [https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options APKBUILD].
If the build process needs network access there has to bet set the '''net''' option in [https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#options APKBUILD].
There has to be done some additional configuration to use the '''rootbld''' sandbox in a [https://wiki.alpinelinux.org/wiki/Build_with_abuild_rootbld_in_Docker_container Docker container].

Revision as of 18:57, 12 June 2022

Install package abuild-rootbld:

apk add abuild-rootbld

Now you can build your source packages in an unprivileged sandbox based on bubblewrap with the command

abuild rootbld

If the build process needs network access there has to bet set the net option in APKBUILD.

There has to be done some additional configuration to use the rootbld sandbox in a Docker container.