Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
47a1d26
adding a browser for internal development
russelljjarvis Dec 17, 2016
e8a9121
adding a browser for internal development
russelljjarvis Dec 17, 2016
4266938
adding a browser for internal development
russelljjarvis Dec 17, 2016
4ff9bcf
spelling correction
russelljjarvis Dec 17, 2016
7d05503
support for making a complete graphical development environment
russelljjarvis Dec 18, 2016
796de62
edited readme for this branch only
russelljjarvis Dec 18, 2016
389159c
Update Dockerfile
russelljjarvis Feb 6, 2017
f8c7787
refactored
russelljjarvis Mar 13, 2017
d6cb42f
changed dockerfile
russelljjarvis Mar 13, 2017
10a3565
resolved merge
russelljjarvis Mar 13, 2017
a0800dd
commit before merge
russelljjarvis Mar 29, 2017
9ba7a32
adding a different Dockerbuild for Reubens use case of non embarrasin…
russelljjarvis Mar 29, 2017
4224b3d
fixed parallel NEURON
May 12, 2017
57b740b
dev changes
May 12, 2017
374b5fa
now with travis building
May 12, 2017
fb9b5ba
commit before merge
russelljjarvis May 12, 2017
e4338c1
merge
russelljjarvis May 12, 2017
c59ccdc
refactor Dockerbuild for optimization
russelljjarvis Jun 19, 2017
8882bfe
protection from merge by way of staging
russelljjarvis Jun 19, 2017
92f6dc3
moved files to reflect new organization
russelljjarvis Jun 19, 2017
c9ceb4c
dev changes, integrating scidash into main/master
russelljjarvis Jun 19, 2017
4648d76
refactored
russelljjarvis Jun 19, 2017
94e7a53
refactor
russelljjarvis Jun 19, 2017
97d87da
dev changes
russelljjarvis Jun 28, 2017
d2e396f
merge before pull
russelljjarvis Jun 28, 2017
eb9c4da
hacked quantities into working state
russelljjarvis Jun 28, 2017
80f2bf2
run this docker stack for development
russelljjarvis Jun 28, 2017
005b358
dev changes
russelljjarvis Jun 28, 2017
0d6323b
dev changes
russelljjarvis Jun 29, 2017
db0de51
dev changes
russelljjarvis Jun 29, 2017
81b307e
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jun 30, 2017
1ef4e97
dev changes
russelljjarvis Jul 2, 2017
c6ecb24
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jul 2, 2017
d255024
documentation, move to trunk documentation
russelljjarvis Jul 5, 2017
de65085
added to doc
russelljjarvis Jul 5, 2017
95b4f8e
dev changes to docker file
russelljjarvis Jul 15, 2017
bc910c8
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jul 18, 2017
005c992
dev changes
russelljjarvis Jul 19, 2017
a7524eb
graphviz
russelljjarvis Jul 19, 2017
b5b8545
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jul 19, 2017
26420c7
graphviz
russelljjarvis Jul 19, 2017
86511b3
dev changes
russelljjarvis Jul 19, 2017
d6df5e1
dev changes
russelljjarvis Jul 19, 2017
53b7b84
dev changes
russelljjarvis Jul 19, 2017
cd7c68a
dev to rebuild
russelljjarvis Jul 20, 2017
3929d35
commit before merge
russelljjarvis Jul 20, 2017
dda3a40
dev changes
russelljjarvis Jul 20, 2017
a6e7fd9
finished merge
russelljjarvis Jul 20, 2017
f6709bf
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jul 20, 2017
8c85880
dev changes
russelljjarvis Jul 20, 2017
859eb7a
dev changes
russelljjarvis Jul 21, 2017
f626d7c
dev changes
russelljjarvis Jul 21, 2017
3650085
dev changes
russelljjarvis Jul 23, 2017
d24a7a9
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Jul 23, 2017
d9bdf06
dev changes
russelljjarvis Jul 30, 2017
d634ab0
commiting a docker build such as to facilitate reproduction of a mini…
russelljjarvis Aug 5, 2017
3797fdb
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Aug 5, 2017
6926b06
Update Dockerfile
russelljjarvis Aug 5, 2017
9451a73
Update Dockerfile
russelljjarvis Aug 5, 2017
48c3402
Update Dockerfile
russelljjarvis Aug 5, 2017
0c70374
Update Dockerfile
russelljjarvis Aug 5, 2017
f1bf95f
Update Dockerfile
russelljjarvis Aug 5, 2017
a49c2ef
dev changes
russelljjarvis Aug 5, 2017
9e5aa9f
conclude merge
russelljjarvis Aug 5, 2017
87b1dc8
dev changes
russelljjarvis Aug 5, 2017
677dae9
Delete Dockerfile~
russelljjarvis Aug 5, 2017
12fe44a
added in a file that facilitates automated running of the optimizer i…
russelljjarvis Aug 8, 2017
fb5de35
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Aug 8, 2017
fde02ef
dev changes and merge complete
russelljjarvis Aug 8, 2017
f9644da
Merge branch 'master' of https://github.com/russelljjarvis/ParallelPy…
russelljjarvis Aug 8, 2017
036cf1f
Dockerfile reflects scidash/docker-stacks builds
rgerkin Aug 10, 2017
b74b5a1
commiting so HEAD in dockerfile senses the rebuild
russelljjarvis Sep 1, 2017
444df28
dev changes
russelljjarvis Sep 3, 2017
21f8a36
dev changes
russelljjarvis Sep 3, 2017
a743142
resolved merge from remote/right
russelljjarvis Sep 3, 2017
7960d68
added in autoload
russelljjarvis Sep 3, 2017
455b832
for building issue94
russelljjarvis Sep 10, 2017
b987873
moved shell into run, as shell is all I want, I don't want default run
russelljjarvis Sep 15, 2017
e0dca40
dev changes
russelljjarvis Sep 18, 2017
1610426
dev changes
russelljjarvis Sep 18, 2017
6535f6c
dev changes
russelljjarvis Sep 19, 2017
8ea2627
dev changes
russelljjarvis Sep 20, 2017
ca657df
dev changes
russelljjarvis Sep 20, 2017
4667720
instructions that seem to work
russelljjarvis Sep 20, 2017
37afe86
dev changes
russelljjarvis Sep 26, 2017
a1a1b1b
dev changes
russelljjarvis Sep 29, 2017
f2b0438
dev changes
russelljjarvis Oct 1, 2017
eb2dd14
dev changes
russelljjarvis May 24, 2018
2cf5545
commit before merge
russelljjarvis May 24, 2018
2d81fd4
dev changes
russelljjarvis May 24, 2018
3ab883c
dev changes
russelljjarvis May 24, 2018
fc98af2
merge resolved
russelljjarvis May 24, 2018
c895f35
Delete Dockerfile
russelljjarvis May 31, 2018
d36a599
Delete func2rc.sh
russelljjarvis May 31, 2018
b56b2a2
cluster specific docker build changes
russelljjarvis Jun 5, 2018
8697b37
changes to Dockerstacks
russelljjarvis Jun 14, 2018
ab2491d
network dockerlayer
russelljjarvis Mar 15, 2019
3cecffe
network dockerlayer
russelljjarvis Mar 15, 2019
360bf8d
layer for PyNN
russelljjarvis Mar 31, 2019
701c92f
dev changes
russelljjarvis Apr 5, 2019
5a5bbbc
network unit testing
russelljjarvis Apr 5, 2019
4c5bb78
network unit testing
russelljjarvis Apr 6, 2019
99fa35f
network unit testing
russelljjarvis Apr 6, 2019
9cee511
with R and Julia support
russelljjarvis Apr 11, 2019
9068f29
change to julia dockerfile
russelljjarvis Apr 20, 2019
71e00e1
dev changes
russelljjarvis Jun 3, 2019
7c90516
updating Dockerfile
russelljjarvis Jun 13, 2019
70034f7
docker build for efel and allen
russelljjarvis Jun 24, 2019
68ffdaa
dev changes
russelljjarvis Jun 24, 2019
9a3282e
merge back to be squashed
russelljjarvis Jan 27, 2020
e82a696
Delete Dockerfile
russelljjarvis May 8, 2020
d7797d5
Create Dockerfile
russelljjarvis May 8, 2020
85a1e14
Update .travis.yml
russelljjarvis May 8, 2020
31a8cee
Update .travis.yml
russelljjarvis May 8, 2020
1259b67
Update README.md
russelljjarvis May 8, 2020
4fe19d4
Update README.md
russelljjarvis May 8, 2020
0b0fad4
Update README.md
russelljjarvis May 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: python

python:
- 3.6
services:
- docker

os:
- linux


notifications:
email: true

before_install:
- docker build -t pns .
script:
- docker run pns python -c "print('built')"
34 changes: 34 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Distributed under the terms of the Modified BSD License.
ARG BASE_CONTAINER=jupyter/scipy-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Russell <[email protected]>"
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
fonts-dejavu \
gfortran \
gcc && \
rm -rf /var/lib/apt/lists/*
RUN apt-get upgrade
RUN apt-get install -y ncurses-base ncurses-bin
RUN apt-get update && apt-get install -y bzip2 ca-certificates automake libtool \
libncurses5-dev libreadline-dev libgsl0-dev cmake ssh
USER jovyan

WORKDIR $HOME
RUN \
wget http://www.neuron.yale.edu/ftp/neuron/versions/v7.7/nrn-7.7.tar.gz && \
tar -xzf nrn-7.7.tar.gz && \
rm nrn-7.7.tar.gz
WORKDIR $HOME/nrn-7.7
ENV PATH /usr/bin/python3/python:/opt/conda/bin:/opt/conda/bin/conda:/opt/conda/bin/python:$PATH
RUN ./configure --prefix=`pwd` --without-iv --with-nrnpython=/opt/conda/bin/python3
USER root
RUN sudo make all && \
make install
USER jovyan
WORKDIR src/nrnpython
RUN python setup.py install
RUN python -c "import neuron"
ENV NEURON_HOME $HOME/nrn-7.7/x86_64
ENV PATH $NEURON_HOME/bin:$PATH
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[![Build Status](https://travis-ci.com/russelljjarvis/docker-stacks-returned.svg?branch=scidash)](https://travis-ci.com/russelljjarvis/docker-stacks-returned)

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/russelljjarvis/docker-stacks-returned/master)

# A hierarchy of Docker images for using SciDash tools

Purpose: The building of development environments raises an unnecessary technical problem. In many cases even if someone has the technical capacity to build, it does not mean they will have time to do so. In order to remove this barrier to participation we have created some Docker images to allow people to use our tools. Each of these images serves Jupyter notebooks and including a Python scientific computing stack (extended from jupyter/docker-stacks/scipy-notebook), and some combination of NEURON-7.4, scoop, DEAP, sciunit, and neuronunit.
Purpose: The building of development environments raises an unnecessary technical problem. In many cases even if someone has the technical capacity to build, it does not mean they will have time to do so. In order to remove this barrier to participation we have created some Docker images to allow people to use our tools. Each of these images serves Jupyter notebooks and including a Python scientific computing stack (extended from jupyter/docker-stacks/scipy-notebook), and some combination of NEURON-7.7, DASK, DEAP, sciunit, and neuronunit.

![Docker container hierarchy](https://github.com/scidash/assets/blob/master/mockups/Containerization%20and%20Continuous%20Integration%20Workflow.png)

Expand Down Expand Up @@ -77,3 +81,19 @@ c.DockerSpawner.extra_create_kwargs.update({
})
```
Then run `jupyterhub`, visit the indicated URL (e.g. `10.200.11.1:8000`) in your browser, and log in as a system user.

Ipython Parallel seems to benefit from tini

https://github.com/krallin/tini

NOTE: If you are using Docker 1.13 or greater, Tini is included in Docker itself. This includes all versions of Docker CE. To enable Tini, just pass the --init flag to docker run.

Why tini? (init backwards)

Using Tini has several benefits:

It protects you from software that accidentally creates zombie processes, which can (over time!) starve your entire system for PIDs (and make it unusable).
It ensures that the default signal handlers work for the software you run in your Docker image. For example, with Tini, SIGTERM properly terminates your process even if you didn't explicitly install a signal handler for it.
It does so completely transparently! Docker images that work without Tini will work with Tini without any changes.
If you'd like more detail on why this is useful, review this issue discussion: What is advantage of Tini?.

Empty file modified build
100755 → 100644
Empty file.
6 changes: 3 additions & 3 deletions build-all
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
for NAME in scipy-notebook-plus sciunit neuron-mpi-neuroml neuronunit neuronunit-openworm neuronunit-neuroconstruct neuronunit-optimization; do
for name in scipy-notebook-plus sciunit neuron-mpi-neuroml neuronunit neuronunit-optimization; do
echo "********************************"
echo "Building scidash/$NAME"
echo "Building scidash/$name"
echo "********************************"
./build $NAME
./build $name
done
15 changes: 15 additions & 0 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM scidash/neuronunit-optimization
COPY stdout_worker.py $HOME/stdout_worker.py
COPY func2rc.sh $HOME/func2rc.sh
RUN cat $HOME/func2rc.sh >> ~/.bashrc
RUN sudo chown -R jovyan /home/jovyan/work
ENV QT_QPA_PLATFORM offscreen
ENV PYTHONPATH $PYTHONPATH/home/jovyan/neuronunit/neuronunit/optimization
RUN /bin/bash -c "source $HOME/func2rc.sh"
WORKDIR $HOME/neuronunit/neuronunit
RUN sudo /opt/conda/bin/pip install dask



RUN sudo rm -r $HOME/work
RUN sudo rm -r /opt/conda/lib/python3.5/site-packages/neuronunit*
56 changes: 56 additions & 0 deletions efel_dm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# author Russell Jarvis [email protected]
# author Rick Gerkin [email protected]
# neuronunit-showcase

FROM scidash/neuronunit-optimization
RUN sudo rm -rf /opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg
RUN sudo /opt/conda/bin/pip install --upgrade pip
RUN sudo /opt/conda/bin/pip install --upgrade setuptools
RUN sudo rm -rf /opt/conda/lib/python3.5/site-packages/allensdk-0.12.4.1-py3.5.egg
RUN pip install git+https://github.com/fun-zoological-computing/AllenSDK.git
# RUN conda update -n base conda
USER $NB_USER

# RUN pip uninstall tornado
# move to a docker install script.
RUN sudo /opt/conda/bin/pip install --upgrade pip
# RUN sudo /opt/conda/bin/pip install git+https://github.com/scidash/sciunit.git@dev # --upgrade# --process-dependency-links --upgrade
RUN sudo /opt/conda/bin/conda install -y cython

RUN sudo /opt/conda/bin/pip install git+https://github.com/brian-team/brian2.git
# faster glif
# RUN sudo /opt/conda/bin/pip install allensdk --upgrade
# RUN sudo /opt/conda/bin/conda install -y numpy deap dask numba
# RUN sudo /opt/conda/bin/pip install allensdk --upgrade

RUN sudo /opt/conda/bin/pip install git+git://github.com/BlueBrain/eFEL

WORKDIR $HOME
# RUN sudo /opt/conda/bin/pip install git+
# RUN git clone https://github.com/AllenInstitute/sonata
# WORKDIR /sonata/src/pysonata
# RUN echo $pwd
# RUN ls *.py
# RUN python setup.py install

RUN git clone https://github.com/AllenInstitute/bmtk.git
WORKDIR bmtk
RUN python setup.py install

WORKDIR $HOME
RUN sudo apt-get update -y
RUN sudo apt-get upgrade -y
RUN sudo apt-get -y install libhdf5-dev vim
# RUN sudo /opt/bin/conda/pip install setuptools
# RUN sudo /opt/conda/bin/pip install --upgrade protobuf

# RUN git clone
# ing/AllenSDK
# WORKDIR AllenSDK
# RUN python setup.py install
RUN sudo /opt/conda/bin/pip3 install pyscaffold
RUN sudo /opt/conda/bin/pip install pip --upgrade
RUN sudo /opt/conda/bin/pip3 install SALib
# git+https://github.com/SALib/SALib.git

ENTRYPOINT /bin/bash
41 changes: 41 additions & 0 deletions julia_nb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
FROM with_r
USER root
#RUN apt-get install -y julia
# install Julia packages in /opt/julia instead of $HOME
ENV JULIA_DEPOT_PATH=/opt/julia
ENV JULIA_PKGDIR=/opt/julia
ENV JULIA_VERSION=1.0.0

RUN mkdir /opt/julia-${JULIA_VERSION} && \
cd /tmp && \
wget -q https://julialang-s3.julialang.org/bin/linux/x64/`echo ${JULIA_VERSION} | cut -d. -f 1,2`/julia-${JULIA_VERSION}-linux-x86_64.tar.gz && \
echo "bea4570d7358016d8ed29d2c15787dbefaea3e746c570763e7ad6040f17831f3 *julia-${JULIA_VERSION}-linux-x86_64.tar.gz" | sha256sum -c - && \
tar xzf julia-${JULIA_VERSION}-linux-x86_64.tar.gz -C /opt/julia-${JULIA_VERSION} --strip-components=1 && \
rm /tmp/julia-${JULIA_VERSION}-linux-x86_64.tar.gz
RUN ln -fs /opt/julia-*/bin/julia /usr/local/bin/julia

# Show Julia where conda libraries are \
RUN mkdir /etc/julia && \
echo "push!(Libdl.DL_LOAD_PATH, \"$CONDA_DIR/lib\")" >> /etc/julia/juliarc.jl && \
# Create JULIA_PKGDIR \
mkdir $JULIA_PKGDIR && \
chown $NB_USER $JULIA_PKGDIR

RUN julia -e 'import Pkg; Pkg.update()' && \
(test $TEST_ONLY_BUILD || julia -e 'import Pkg; Pkg.add("HDF5")') && \
julia -e 'import Pkg; Pkg.add("Gadfly")' && \
julia -e 'import Pkg; Pkg.add("RDatasets")' && \
julia -e 'import Pkg; Pkg.add("IJulia"); Pkg.add("StatsPlots");Pkg.add("Plots"); Pkg.add("StatsPlots");Pkg.add("DataFrames")'

RUN julia -e 'import Pkg; Pkg.add("Seaborn"); Pkg.add("PyPlot")'
RUN julia -e 'import Pkg;Pkg.clone("https://github.com/gsoleilhac/NSGAII.jl")'
USER jovyan
# Precompile Julia packages \
RUN sudo julia -e 'using Pkg; Pkg.add("IJulia"); using IJulia'
ADD stochastic_gd.jl .
RUN sudo julia stochastic_gd.jl

# move kernelspec out of home \
# mv $HOME/.local/share/jupyter/kernels/julia* $CONDA_DIR/share/jupyter/kernels/ && \
# chmod -R go+rx $CONDA_DIR/share/jupyter && \
# rm -rf $HOME/.local && $JULIA_PKGDIR $CONDA_DIR/share/jupyter
53 changes: 53 additions & 0 deletions julia_nb/stochastic_gd.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
println("reminder to Russell")
println("to install packages use")
println("launch julia using sudo")
println("try to import module first using, 'using'")
println("include('ml.jl')")
#println("Pkg.add('PyCall')")
println("\n\n\n\n\n\n")
using Pkg

function trypy()
try
ENV["PYTHON"] = "/opt/conda/bin/python"
Pkg.rm("PyCall")
Pkg.build("PyCall")
Pkg.test("PyCall")
plt = pyimport("matplotlib.pyplot")
x = range(0;stop=2*pi,length=1000); y = sin.(3*x + 4*cos.(2*x));
plt.plot(x, y, color="red", linewidth=2.0, linestyle="--")
#plt.show()

#return unreliable_connect()
catch ex
ENV["PYTHON"] = "/anaconda3/bin/python"
Pkg.rm("PyCall")
Pkg.build("PyCall")
Pkg.test("PyCall")

math = pyimport("math")
Pkg.test("PyCall")
plt = pyimport("matplotlib.pyplot")
x = range(0;stop=2*pi,length=1000); y = sin.(3*x + 4*cos.(2*x));
plt.plot(x, y, color="red", linewidth=2.0, linestyle="--")

math.sin(math.pi / 4) # returns ≈ 1/√2 = 0.70710678...
end
end
Pkg.add("StatsPlots")
Pkg.add("PyCall")
Pkg.add("GR")
Pkg.add("IJulia");
Pkg.add("Plots");
Pkg.add("StatsPlots"); #to install the StatPlots package.
Pkg.add("DataFrames");
Pkg.add("Seaborn")
Pkg.add("PyPlot")
Pkg.add("Knet")
using DataFrames
# using IJulia
using Knet
using Plots;
using StatsPlots;
using PyCall;
println("done")
23 changes: 23 additions & 0 deletions network/#Dockerfile#
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM scidash/neuronunit-optimization
# move to a docker install script.

RUN sudo /opt/conda/bin/pip install git+https://github.com/scidash/sciunit.git@dev --process-dependency-links --upgrade
RUN sudo /opt/conda/bin/conda install -y cython
RUN sudo /opt/conda/bin/pip install pynn lazyarray

RUN sudo /opt/conda/bin/pip install git+https://github.com/brian-team/brian2.git
# faster glif
#RUN sudo /opt/conda/bin/pip install git+https://github.com/russelljjarvis/AllenSDK.git
RUN sudo /opt/conda/bin/conda install -y numpy deap dask numba
RUN sudo /opt/conda/bin/pip install neurodynex

RUN sudo /opt/conda/bin/pip install coverage lmfit
RUN sudo /opt/conda/bin/pip install allensdk #--upgrade
RUN sudo /opt/conda/bin/conda install pandas
RUN sudo /opt/conda/bin/pip install toolz cloudpickle
RUN sudo /opt/conda/bin/pip install pyscaffold

RUN git clone https://github.com/SALib/SALib.git
WORKDIR SALib
RUN python setup.py develop
RUN sudo /opt/conda/bin/pip install SALib
36 changes: 36 additions & 0 deletions network/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM scidash/neuronunit-optimization
# move to a docker install script.

RUN sudo /opt/conda/bin/pip install git+https://github.com/scidash/sciunit.git@dev --process-dependency-links --upgrade
RUN sudo /opt/conda/bin/conda install -y cython
RUN sudo /opt/conda/bin/pip install pynn lazyarray

RUN sudo /opt/conda/bin/pip install git+https://github.com/brian-team/brian2.git
# faster glif
#RUN sudo /opt/conda/bin/pip install git+https://github.com/russelljjarvis/AllenSDK.git
RUN sudo /opt/conda/bin/conda install -y numpy deap dask numba
RUN sudo /opt/conda/bin/pip install neurodynex

RUN sudo /opt/conda/bin/pip install coverage lmfit
RUN sudo /opt/conda/bin/pip install allensdk #--upgrade
RUN sudo /opt/conda/bin/conda install pandas
RUN sudo /opt/conda/bin/pip install toolz cloudpickle
RUN sudo /opt/conda/bin/pip install setuptools
RUN sudo /opt/conda/bin/conda install -c conda-forge pyscaffold
RUN sudo /opt/conda/bin/pip install --upgrade pip
RUN sudo /opt/conda/bin/conda install python=3.5.0
# RUN sudo /opt/conda/bin/pip install pyscaffold
# RUN sudo /opt/conda/bin/pip install SALib

# RUN git clone https://github.com/SALib/SALib.git
# WORKDIR SALib
# RUN python3 setup.py develop

# uncomment to give PyNN mpi.
# note this is a bad idea. For this project.
# MPI is used for non-embarrasingly parallel computations,
# we use dask here, for embarrassingly parallel.
# RUN sudo apt-get update -y
# RUN sudo apt-get install -y mpich
# RUN pip install mpi4py
RUN pip install git+https://github.com/russelljjarvis/modality
23 changes: 23 additions & 0 deletions network/Dockerfile (rjjarvis's conflicted copy 2019-04-02)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM scidash/neuronunit-optimization
# move to a docker install script.

RUN sudo /opt/conda/bin/pip install git+https://github.com/scidash/sciunit.git@dev --process-dependency-links --upgrade
RUN sudo /opt/conda/bin/conda install -y cython
RUN sudo /opt/conda/bin/pip install pynn lazyarray

RUN sudo /opt/conda/bin/pip install git+https://github.com/brian-team/brian2.git
# faster glif
#RUN sudo /opt/conda/bin/pip install git+https://github.com/russelljjarvis/AllenSDK.git
RUN sudo /opt/conda/bin/conda install -y numpy deap dask numba
RUN sudo /opt/conda/bin/pip install neurodynex

RUN sudo /opt/conda/bin/pip install coverage lmfit
RUN sudo /opt/conda/bin/pip install allensdk #--upgrade
RUN sudo /opt/conda/bin/conda install pandas
RUN sudo /opt/conda/bin/pip install toolz cloudpickle
RUN sudo /opt/conda/bin/pip install pyscaffold

# RUN git clone https://github.com/SALib/SALib.git
# WORKDIR SALib
# RUN python setup.py develop
RUN sudo /opt/conda/bin/pip install SALib
Loading