Skip to content

Commit

Permalink
Draft for Gentoo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Apr 12, 2024
1 parent f61d0e2 commit 27ca573
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions neurodocker/templates/gentoo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# Instructions to add NeuroDebian repositories.

name: gentoo
url: https://www.gentoo.org/
binaries:
urls:
australia: http://neuro.debian.net/lists/{{ self.os_codename }}.au.{{ self.full_or_libre }}
china-tsinghua: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj1.{{ self.full_or_libre }}
china-scitech: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj2.{{ self.full_or_libre }}
china-zhejiang: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-zj.{{ self.full_or_libre }}
germany-munich: http://neuro.debian.net/lists/{{ self.os_codename }}.de-m.{{ self.full_or_libre }}
germany-magdeburg: http://neuro.debian.net/lists/{{ self.os_codename }}.de-md.{{ self.full_or_libre }}
greece: http://neuro.debian.net/lists/{{ self.os_codename }}.gr.{{ self.full_or_libre }}
japan: http://neuro.debian.net/lists/{{ self.os_codename }}.jp.{{ self.full_or_libre }}
usa-ca: http://neuro.debian.net/lists/{{ self.os_codename }}.us-ca.{{ self.full_or_libre }}
usa-nh: http://neuro.debian.net/lists/{{ self.os_codename }}.us-nh.{{ self.full_or_libre }}
usa-tn: http://neuro.debian.net/lists/{{ self.os_codename }}.us-tn.{{ self.full_or_libre }}
arguments:
required:
- version
- os_codename
optional:
full_or_libre: full
dependencies:
apt:
- ca-certificates
- curl
- dirmngr
- gnupg2
instructions: |
{{ self.install_dependencies() }}
curl -fsSL {{ self.urls[self.version] }} \
> /etc/apt/sources.list.d/neurodebian.sources.list
curl -sSL https://dl.dropbox.com/s/zxs209o955q6vkg/neurodebian.gpg | apt-key add -
(apt-key adv --refresh-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 || true)
apt-get -qq update

0 comments on commit 27ca573

Please sign in to comment.