apt-buildpack
apt-buildpack copied to clipboard
Add setting to conditionally change custom repositories behavior
Fixes #29, #30
This PR introduces BPAPT_CUSTOM_REPOS, allowing users to control how custom repositories are added to the APT sources list. It supports three options:
-
append(default) – Custom repositories are added at the end ofsources.list. -
prepend– Custom repositories are added at the beginning ofsources.list. -
custom-only– Only custom repositories are included, omitting defaults.
This maintains the existing behavior by default while providing more flexibility.