Skip to content

Commit

Permalink
TVB-2592 Fix Zenodo installation of tvb-data
Browse files Browse the repository at this point in the history
  • Loading branch information
liadomide committed Feb 26, 2020
1 parent 5e93f19 commit 61aed46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion scientific_library/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN conda install python=3.7 nomkl numba scipy numpy networkx scikit-learn cytho
RUN apt-get install -y zip
RUN cd /opt \
&& wget -q https://zenodo.org/record/3688773/files/tvb-data.zip?download=1 -O tvb_data.zip \
&& unzip tvb_data.zip \
&& mkdir tvb_data \
&& unzip tvb_data.zip -d tvb_data \
&& rm tvb_data.zip \
&& cd tvb_data \
&& python3 setup.py develop
Expand Down
4 changes: 2 additions & 2 deletions tvb_build/docker/Dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ RUN /bin/bash -c "source activate tvb-run"; \

WORKDIR /root

RUN wget https://zenodo.org/record/3688773/files/tvb-data.zip?download=1 -O tvb_data.zip; \
unzip tvb_data.zip; rm tvb_data.zip; \
RUN wget https://zenodo.org/record/3688773/files/tvb-data.zip?download=1 -O tvb_data.zip;
mkdir tvb_data; unzip tvb_data.zip -d tvb_data; rm tvb_data.zip; \
cd tvb_data; \
/opt/conda/envs/tvb-run/bin/python setup.py develop;\
/opt/conda/envs/tvb-docs/bin/python setup.py develop
Expand Down
4 changes: 2 additions & 2 deletions tvb_build/docker/Dockerfile-run
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN /bin/bash -c "source activate tvb-run"; \

WORKDIR /root

RUN wget https://zenodo.org/record/3688773/files/tvb-data.zip?download=1 -O tvb_data.zip; \
unzip tvb_data.zip; rm tvb_data.zip; \
RUN wget https://zenodo.org/record/3688773/files/tvb-data.zip?download=1 -O tvb_data.zip;
mkdir tvb_data; unzip tvb_data.zip -d tvb_data; rm tvb_data.zip; \
cd tvb_data; \
/opt/conda/envs/tvb-run/bin/python setup.py develop

Expand Down

0 comments on commit 61aed46

Please sign in to comment.