Debian Codegraph @

tools/Singularity

raw
1 #
2 # This container provides a full Python3-based installation of DataLad
3 # (http://datalad.org) using DataLad's latest development state at the
4 # time the container is built.
5 #
6 #######################################################################
7
8
9 Bootstrap:docker
10 From:neurodebian:latest
11
12 %post
13 echo "Configuring the environment"
14 apt-get -y update
15
16 # setup the container sources themselves
17 apt-get -y install eatmydata
18 eatmydata apt-get -y install gnupg wget locales
19
20 # we need a UTF locale for DataLad to work properly
21 echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
22 locale-gen
23
24 # bare essentials to pull everything else in
25 eatmydata apt-get -y install --no-install-recommends git git-annex-standalone python3-pip
26
27 eatmydata apt-get -y install --no-install-recommends python3-setuptools python3-wheel less rsync git-remote-gcrypt aria2 libexempi3 rclone git-annex-remote-rclone p7zip-full
28
29 # just for scrapy
30 eatmydata apt-get -y install --no-install-recommends python3-twisted
31
32 # little dance because pip cannot handle this url plus [full] in one go
33 pip3 install --system 'datalad[full]'
34
35 # clean up
36 apt-get clean
37
38
39 %environments
40 unset PYTHONPATH
41
42 %runscript
43 datalad "$@"