Skip to content

Commit d0c4624

Browse files
committed
reverting changes to dockerfile
1 parent 5e03d73 commit d0c4624

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docker/generate_dockerfiles.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ function generate_main_dockerfile() {
9090
activate=true \
9191
--copy docker/files/run_builddocs.sh docker/files/run_examples.sh \
9292
docker/files/run_pytests.sh nipype/external/fsl_imglob.py /usr/bin/ \
93+
--copy . /src/nipype \
9394
--user root \
94-
--run-bash "mkdir -p /src" \
9595
--run 'chown -R neuro /src
9696
&& chmod +x /usr/bin/fsl_imglob.py /usr/bin/run_*.sh
9797
&& . /etc/fsl/fsl.sh
@@ -104,11 +104,8 @@ function generate_main_dockerfile() {
104104
conda_install='python=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
105105
icu=58.1 libxml2 libxslt matplotlib mkl numpy paramiko
106106
pandas psutil scikit-learn scipy traits=4.6.0' \
107-
--run-bash "mkdir -p /src/nipype
108-
&& curl -sSL --retry 5 https://github.com/nipy/nipype/tarball/master
109-
| tar -xz -C /src/nipype --strip-components 1
110-
&& source activate neuro
111-
&& pip install --no-cache-dir -e /src/nipype[all]" \
107+
pip_opts="-e" \
108+
pip_install="/src/nipype[all]" \
112109
--run-bash "mkdir -p /src/pybids
113110
&& curl -sSL --retry 5 https://github.com/INCF/pybids/tarball/master
114111
| tar -xz -C /src/pybids --strip-components 1

0 commit comments

Comments
 (0)