forked from AllenInstitute/AllenSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,31 @@ MAINTAINER Tim Fliss <[email protected]> | |
|
||
# neuron installation | ||
WORKDIR root | ||
COPY shared shared | ||
COPY requirements.txt test_requirements.txt ./ | ||
COPY shared shared/apt_get_dependencies.sh | ||
RUN /bin/bash shared/apt_get_dependencies.sh | ||
COPY shared shared/conda_27.sh | ||
RUN /bin/bash shared/conda_27.sh | ||
COPY shared shared/allensdk_install.sh | ||
RUN /bin/bash --login shared/allensdk_install.sh | ||
COPY shared shared/jupyterhub.sh | ||
RUN /bin/bash --login shared/jupyterhub.sh | ||
COPY shared shared/build_nrn.sh | ||
RUN /bin/bash --login shared/build_nrn.sh | ||
COPY shared shared/tensorflow.sh | ||
RUN /bin/bash --login shared/tensorflow.sh | ||
COPY shared shared/aws_dependencies.sh | ||
RUN /bin/bash --login shared/aws_dependencies.sh | ||
COPY shared shared/users.sh | ||
RUN /bin/bash --login shared/users.sh | ||
|
||
RUN shared/build_DiPDE.sh -e py27 | ||
COPY shared/build_DiPDE.sh shared/ | ||
#RUN shared/build_DiPDE.sh -e py27 | ||
COPY shared/build_NEST.sh shared/ | ||
RUN shared/build_NEST.sh -e py27 | ||
RUN shared/build_NEURON.sh -e py27 | ||
COPY shared/build_NEURON.sh shared/ | ||
#RUN shared/build_NEURON.sh -e py27 | ||
COPY shared/build_Tensorflow.sh shared/ | ||
#RUN shared/build_Tensorflow.sh -e py27 | ||
|
||
RUN /bin/bash shared/aws_dependencies.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cd /root | ||
wget https://github.com/AllenInstitute/AllenSDK/archive/v0.13.1.tar.gz | ||
tar xvzf v0.13.1.tar.gz | ||
mv AllenSDK-0.13.1 allensdk | ||
cd allensdk | ||
source activate root | ||
pip install --ignore-installed -r requirements.txt | ||
pip install --ignore-installed -r test_requirements.txt | ||
pip install . | ||
source activate py27 | ||
pip install --ignore-installed -r requirements.txt | ||
pip install --ignore-installed -r test_requirements.txt | ||
pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
conda update anaconada | ||
conda update -y conada | ||
source activate root | ||
pip install -r requirements.txt | ||
pip install -r test_requirements.txt | ||
conda env create -n py27 python=2.7 -f shared/environment.yml | ||
conda install -n py27 -c https://conda.anaconda.org/simpleitk SimpleITK | ||
conda install -n py27 -y -c https://conda.anaconda.org/simpleitk SimpleITK | ||
source activate py27 | ||
pip install --upgrade pip | ||
pip install --ignore-installed -r requirements.txt | ||
pip install --ignore-installed -r test_requirements.txt | ||
source activate root | ||
/opt/conda/envs/py27/bin/python -m ipykernel install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ FROM alleninstitute/allensdk:anaconda3_neuron_1370 | |
|
||
MAINTAINER Tim Fliss <[email protected]> | ||
|
||
RUN conda create -n py2 python=2 anaconda | ||
RUN conda create -n py27 python=2.7 anaconda | ||
|
||
RUN /bin/bash --login -c "cd /root; \ | ||
wget https://github.com/AllenInstitute/AllenSDK/archive/v0.13.1.tar.gz; \ | ||
|
@@ -16,10 +16,10 @@ RUN /bin/bash --login -c "cd /root; \ | |
cd allensdk; \ | ||
pip install -r requirements.txt; \ | ||
pip install -r test_requirements.txt; \ | ||
pip install .; \sou | ||
pip install .; \ | ||
ipython kernel install; \ | ||
source activate root; \ | ||
/opt/conda/envs/py2/bin/python -m ipykernel install" | ||
/opt/conda/envs/py27/bin/python -m ipykernel install" | ||
|
||
|
||
RUN apt-get install -y npm vim; \ | ||
|