Include:AbuildRootBld: Difference between revisions
WhyNotHugo (talk | contribs) (This assumption is no longer true; the current directory is now used.) |
Prabuanand (talk | contribs) (removed extra spacing as this affects target transcluded pages) |
||
Line 9: | Line 9: | ||
If the build process needs network access there has to bet set the '''net''' option in [[APKBUILD_Reference#options|APKBUILD]]. | 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]]. | Note that using <code>rootbld</code> inside a docker container requires [[Build_with_abuild_rootbld_in_Docker_container|additional configuration]]. <noinclude>[[Category: Package Manager]]</noinclude> | ||
<noinclude>[[Category: Package Manager]]</noinclude> |
Latest revision as of 09:11, 26 February 2025
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
rootbld
assumes your APKBUILD file is in a directory structure like aports or you need to set environment variable APORTSDIR
to current directory.
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.