Skip to content

Commit

Permalink
Add gentoo binhosts
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Mar 16, 2024
1 parent 7c710dd commit c249bb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
7 changes: 7 additions & 0 deletions gentoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ ARG NICENESS=14
COPY --from=portage-base /var/db/repos/gentoo /var/db/repos/gentoo
RUN mkdir -p /etc/portage/repos.conf/ && cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf
RUN echo "PORTAGE_NICENESS=\"${NICENESS}\"" >> /etc/portage/make.conf
RUN echo "FEATURES=\"${FEATURES} getbinpkg\"" >> /etc/portage/make.conf
#RUN printf "" > /etc/portage/binrepos.conf/gentoobinhost.conf
RUN printf "[amd64gentoobinhost]\npriority=9999\nsync-uri=https://ftp.uni-stuttgart.de/gentoo-distfiles/releases/amd64/binpackages/17.1/x86-64/\n" > /etc/portage/binrepos.conf/amd64gentoobinhost.conf
RUN printf "[arm64gentoobinhost]\npriority=9999\nsync-uri=https://ftp.uni-stuttgart.de/gentoo-distfiles/releases/arm64/binpackages/17.0/arm64/\n" > /etc/portage/binrepos.conf/arm64gentoobinhost.conf
RUN printf "[armgentoobinhost]\npriority=9999\nsync-uri=https://ftp.uni-stuttgart.de/gentoo-distfiles/releases/arm/binpackages/17.0/armv7a/\n" > /etc/portage/binrepos.conf/armgentoobinhost.conf
RUN printf "[riscvgentoobinhost]\npriority=9999\nsync-uri=https://ftp.uni-stuttgart.de/gentoo-distfiles/releases/rsicv/binpackages/20.0/armv7a/rv64_lp64d/\n" > /etc/portage/binrepos.conf/riscvgentoobinhost.conf
RUN mv /etc/portage/gnupg /etc/portage/gnupg.bak ; getuto

FROM apnpucky/gentoo-base as gentoo-repo
RUN emerge -q eix dev-vcs/git && rm -rf /var/cache/distfiles/*
Expand Down
29 changes: 1 addition & 28 deletions gentoo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,35 +60,8 @@ services:
target: gentoo-apn-live
image: apnpucky/gentoo-apn-live:${TAG:-latest}

lhapdf:
build:
context: .
target: gentoo-lhapdf
image: apnpucky/gentoo-lhapdf:${TAG:-latest}


lhapdf-looptools:
build:
context: .
target: gentoo-lhapdf-looptools
image: apnpucky/gentoo-lhapdf-looptools:${TAG:-latest}

rivet3-pythia8-hepmc3:
build:
context: .
target: gentoo-rivet3-pythia8-hepmc3
image: apnpucky/gentoo-rivet3-pythia8-hepmc3:${TAG:-latest}

rivet3-pythia8-hepmc2:
build:
context: .
target: gentoo-rivet3-pythia8-hepmc2
image: apnpucky/gentoo-rivet3-pythia8-hepmc2:${TAG:-latest}

prefix:
build:
context: .
target: prefix
image: apnpucky/gentoo-prefix:${TAG:-latest}

# latex:
# build:
Expand Down

0 comments on commit c249bb0

Please # to comment.