-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu.def
43 lines (34 loc) · 1.11 KB
/
ubuntu.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Singularity definition file for DataLad
# Pierre Rioux, [email protected], February 2021
#
Bootstrap: library
From: ubuntu:20.04
%post
# Configure package repo for neurodebian
apt-get update -y -qq
apt-get install -y gnupg wget curl ca-certificates
apt-key adv --recv-keys --keyserver hkps://keys.openpgp.org:443 0xA5D32F012649A5A9
wget -O/etc/apt/sources.list.d/neurodebian.sources.list http://neuro.debian.net/lists/focal.de-fzj.libre
apt-get update -y -qq
# Upgrade all packages
apt-get upgrade -y
# Install DataLad
echo yes | DEBIAN_FRONTEND=noninteractive apt-get install -f -y neurodebian
apt-get update -y -qq
DEBIAN_FRONTEND=noninteractive apt-get install -f -y datalad
apt-get upgrade -y
apt-get upgrade -y datalad
# Cleanup
apt-get autoremove -y
apt-get purge
apt-get clean
%runscript
datalad "$@"
%labels
Author [email protected]
Version v1.0.0
DataladVersion 0.11.2
GitAnnexVersion 7.20190129
%help
This container provides the Datalad tool along with other utilites (git, git-annex)