Is there any way to use our own APT repositories with a higher priority than the default ones?
I want to increase the speed of the pipeline and I need to point this buildpack to our own Nexus APT mirror.
But if I add :repo:deb row to the Aptfile, this repo is added to the bottom of the sources.list, hence having lower priority.
Is there any other way to override sources.list or maybe I should prepare pull-request to add custom repositories to the start of the sources.list, not to the end of it?
This change can be breaking if someone uses fagiani:apt-buildpack and has multiple repositories with the same package name but with different versions.
Another option can be if we add a new setting BP_APT_CLEAR_SOURCES_LIST to clear default sources.list file and then add all required repos manually, this should be backward-compatible.
What do you think?
Is there any way to use our own APT repositories with a higher priority than the default ones?
I want to increase the speed of the pipeline and I need to point this buildpack to our own Nexus APT mirror.
But if I add
:repo:debrow to the Aptfile, this repo is added to the bottom of thesources.list, hence having lower priority.Is there any other way to override sources.list or maybe I should prepare pull-request to add custom repositories to the start of the sources.list, not to the end of it?
This change can be breaking if someone uses fagiani:apt-buildpack and has multiple repositories with the same package name but with different versions.
Another option can be if we add a new setting
BP_APT_CLEAR_SOURCES_LISTto clear defaultsources.listfile and then add all required repos manually, this should be backward-compatible.What do you think?