Skip to content

Commit 27ca573

Browse files
committed
Draft for Gentoo configuration
1 parent f61d0e2 commit 27ca573

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

neurodocker/templates/gentoo.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
# Instructions to add NeuroDebian repositories.
3+
4+
name: gentoo
5+
url: https://www.gentoo.org/
6+
binaries:
7+
urls:
8+
australia: http://neuro.debian.net/lists/{{ self.os_codename }}.au.{{ self.full_or_libre }}
9+
china-tsinghua: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj1.{{ self.full_or_libre }}
10+
china-scitech: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-bj2.{{ self.full_or_libre }}
11+
china-zhejiang: http://neuro.debian.net/lists/{{ self.os_codename }}.cn-zj.{{ self.full_or_libre }}
12+
germany-munich: http://neuro.debian.net/lists/{{ self.os_codename }}.de-m.{{ self.full_or_libre }}
13+
germany-magdeburg: http://neuro.debian.net/lists/{{ self.os_codename }}.de-md.{{ self.full_or_libre }}
14+
greece: http://neuro.debian.net/lists/{{ self.os_codename }}.gr.{{ self.full_or_libre }}
15+
japan: http://neuro.debian.net/lists/{{ self.os_codename }}.jp.{{ self.full_or_libre }}
16+
usa-ca: http://neuro.debian.net/lists/{{ self.os_codename }}.us-ca.{{ self.full_or_libre }}
17+
usa-nh: http://neuro.debian.net/lists/{{ self.os_codename }}.us-nh.{{ self.full_or_libre }}
18+
usa-tn: http://neuro.debian.net/lists/{{ self.os_codename }}.us-tn.{{ self.full_or_libre }}
19+
arguments:
20+
required:
21+
- version
22+
- os_codename
23+
optional:
24+
full_or_libre: full
25+
dependencies:
26+
apt:
27+
- ca-certificates
28+
- curl
29+
- dirmngr
30+
- gnupg2
31+
instructions: |
32+
{{ self.install_dependencies() }}
33+
curl -fsSL {{ self.urls[self.version] }} \
34+
> /etc/apt/sources.list.d/neurodebian.sources.list
35+
curl -sSL https://dl.dropbox.com/s/zxs209o955q6vkg/neurodebian.gpg | apt-key add -
36+
(apt-key adv --refresh-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 || true)
37+
apt-get -qq update

0 commit comments

Comments
 (0)