Skip to content

Commit 4550275

Browse files
authored
Merge pull request #124 from mgxd/enh/docker
enh: add git-annex-standalone to docker build, fully? support datalad
2 parents 1ce2209 + 0c51ead commit 4550275

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

Dockerfile

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Generated by Neurodocker v0.3.2-1-gcfd3c6f.
1+
# Generated by Neurodocker v0.3.2.
22
#
33
# Thank you for using Neurodocker. If you discover any issues
44
# or ways to improve this software, please submit an issue or
55
# pull request on our GitHub repository:
66
# https://github.com/kaczmarj/neurodocker
77
#
8-
# Timestamp: 2017-12-01 19:04:23
8+
# Timestamp: 2017-12-26 18:41:41
99

1010
FROM debian:stretch
1111

@@ -83,6 +83,26 @@ RUN conda create -y -q --name neuro python=2 \
8383
&& sync \
8484
&& sed -i '$isource activate neuro' $ND_ENTRYPOINT
8585

86+
#--------------------------------------------------
87+
# Add NeuroDebian repository
88+
# Please note that some packages downloaded through
89+
# NeuroDebian may have restrictive licenses.
90+
#--------------------------------------------------
91+
RUN apt-get update -qq && apt-get install -yq --no-install-recommends dirmngr gnupg \
92+
&& apt-get clean \
93+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
94+
&& curl -sSL http://neuro.debian.net/lists/stretch.us-nh.full \
95+
> /etc/apt/sources.list.d/neurodebian.sources.list \
96+
&& curl -sSL https://dl.dropbox.com/s/zxs209o955q6vkg/neurodebian.gpg \
97+
| apt-key add - \
98+
&& (apt-key adv --refresh-keys --keyserver hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 || true) \
99+
&& apt-get update
100+
101+
# Install NeuroDebian packages
102+
RUN apt-get update -qq && apt-get install -yq --no-install-recommends git-annex-standalone \
103+
&& apt-get clean \
104+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
105+
86106
ENTRYPOINT ["/neurodocker/startup.sh", "heudiconv"]
87107

88108
#--------------------------------------
@@ -127,10 +147,18 @@ RUN echo '{ \
127147
\n } \
128148
\n ], \
129149
\n [ \
150+
\n "neurodebian", \
151+
\n { \
152+
\n "os_codename": "stretch", \
153+
\n "download_server": "usa-nh", \
154+
\n "pkgs": "git-annex-standalone" \
155+
\n } \
156+
\n ], \
157+
\n [ \
130158
\n "entrypoint", \
131159
\n "/neurodocker/startup.sh heudiconv" \
132160
\n ] \
133161
\n ], \
134-
\n "generation_timestamp": "2017-12-01 19:04:23", \
135-
\n "neurodocker_version": "0.3.2-1-gcfd3c6f" \
162+
\n "generation_timestamp": "2017-12-26 18:41:41", \
163+
\n "neurodocker_version": "0.3.2" \
136164
\n}' > /neurodocker/neurodocker_specs.json

0 commit comments

Comments
 (0)