Skip to content

Instantly share code, notes, and snippets.

@4iar

4iar/Dockerfile Secret

Created February 29, 2020 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4iar/bd25c175614419e2a92c591d74a8dc29 to your computer and use it in GitHub Desktop.
Save 4iar/bd25c175614419e2a92c591d74a8dc29 to your computer and use it in GitHub Desktop.
Pastoll 2013 Dockerfile
# Environment for Pastoll 2013 spiking continuous attractor network
# ModelDB accession 150031
#
# Example usage:
# docker build . -t pastoll2013
# docker run -it -v ${PWD}:/code -w /code/grid_cell_model pastoll2013 ./submit_basic_grids.py
#
FROM ubuntu:14.04
# Install python and system dependencies for numpy, scipy, and matplotlib
RUN apt-get update -y && \
apt-get install -y python2.7 python-pip python-dev libblas3 libgfortran3 liblapack3 liblapack-dev libblas-dev gfortran libfreetype6-dev
# Finally install the python packages we need
RUN pip install brian==1.4.0
RUN pip install numpy==1.6.2
RUN pip install scipy==0.11.0
RUN pip install matplotlib==1.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment