Add repos.conf into container
This commit is contained in:
parent
feccb525db
commit
b28b8d10e4
@ -13,6 +13,9 @@ RUN eselect profile set "default/linux/amd64/17.1/no-multilib/systemd/merged-usr
|
|||||||
RUN rm --one-file-system /etc/portage/make.conf
|
RUN rm --one-file-system /etc/portage/make.conf
|
||||||
COPY make.conf /etc/portage/make.conf
|
COPY make.conf /etc/portage/make.conf
|
||||||
RUN chown root:root -R /etc/portage/make.conf
|
RUN chown root:root -R /etc/portage/make.conf
|
||||||
|
# Add overlays in /var/db/repos.
|
||||||
|
COPY repos.conf /etc/portage/repos.conf
|
||||||
|
RUN chown root:root -R /etc/portage/make.conf
|
||||||
# Update the compiler
|
# Update the compiler
|
||||||
RUN emerge --oneshot --usepkg sys-devel/gcc:13
|
RUN emerge --oneshot --usepkg sys-devel/gcc:13
|
||||||
RUN eselect gcc set x86_64-pc-linux-gnu-13 && source /etc/profile
|
RUN eselect gcc set x86_64-pc-linux-gnu-13 && source /etc/profile
|
||||||
|
9
repos.conf/gentoo.conf
Normal file
9
repos.conf/gentoo.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
main-repo = gentoo
|
||||||
|
|
||||||
|
[gentoo]
|
||||||
|
auto-sync = no
|
||||||
|
location = /var/db/repos/gentoo
|
||||||
|
# higher priority number mean preferation in case ebuilds exist in >1 repo.
|
||||||
|
priority = 9999
|
||||||
|
volatile = yes
|
7
repos.conf/holgersson-overlay.conf
Normal file
7
repos.conf/holgersson-overlay.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[holgersson-overlay]
|
||||||
|
auto-sync = no
|
||||||
|
location = /var/db/repos/holgersson-overlay
|
||||||
|
masters = gentoo
|
||||||
|
# higher priority number mean preferation in case ebuilds exist in >1 repo.
|
||||||
|
priority = 10
|
||||||
|
volatile = yes
|
7
repos.conf/overlay.conf
Normal file
7
repos.conf/overlay.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[local]
|
||||||
|
auto-sync = no
|
||||||
|
location = /var/db/repos/overlay
|
||||||
|
# higher priority number mean preferation in case ebuilds exist in >1 repo.
|
||||||
|
priority = 20
|
||||||
|
masters = gentoo
|
||||||
|
volatile = yes
|
Reference in New Issue
Block a user