Include:AbuildRootBld: Difference between revisions

From Alpine Linux
(add package manager category)
(Use internal links for wiki pages)
Line 1: Line 1:
Install package '''abuild-rootbld''': {{Cmd|apk add abuild-rootbld}}
Install package <code>abuild-rootbld</code>:


Now you can build your source packages in an unprivileged sandbox based on [https://github.com/containers/bubblewrap bubblewrap] with the command {{Cmd|abuild rootbld}}
{{Cmd|apk add abuild-rootbld}}


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].
You may now build your packages from source in an unprivileged sandbox based on [https://github.com/containers/bubblewrap bubblewrap] with the command: {{Cmd|abuild rootbld}}


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].
If the build process needs network access there has to bet set the '''net''' option in [[APKBUILD_Reference#options|APKBUILD]].
 
Note that using <code>rootbld</code> inside a docker container requires [[Build_with_abuild_rootbld_in_Docker_container|additional configuration]].


[[category: Package Manager]]
[[category: Package Manager]]

Revision as of 15:02, 19 November 2023

Install package abuild-rootbld:

apk add abuild-rootbld

You may now build your packages from source 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.

Note that using rootbld inside a docker container requires additional configuration.