Skip to content

Commit

Permalink
add python3-tk package and matplotlib config for docker environment
Browse files Browse the repository at this point in the history
  • Loading branch information
DaisukeMiyamoto committed Dec 19, 2017
1 parent b923948 commit bac7c1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ENV LANG=C.UTF-8

RUN apt-get update; apt-get install -y build-essential autoconf automake libtool libreadline6-dev \
libncurses5-dev libgsl0-dev python-dev python3-dev openmpi-bin libopenmpi-dev inkscape \
libhdf5-serial-dev libyaml-dev python3-pip python-pip wget zip unzip flex bison vim nano emacs git
libhdf5-serial-dev libyaml-dev python3-pip python3-tk python-pip wget zip unzip flex bison vim nano emacs git

# Update python packages
RUN pip3 install --upgrade pip
Expand Down Expand Up @@ -89,6 +89,10 @@ WORKDIR $VENV/lib/python3.5/site-packages/pyNN/neuron/nmodl
RUN $VENV/bin/nrnivmodl
WORKDIR $HOME

# Set up matplotlib environemnt
RUN mkdir -p .config/matplotlib
RUN echo "backend: Agg" >> .config/matplotlib/matplotlibrc

# Set up bashrc vimrc and add welcome message
RUN sed 's/#force_color_prompt/force_color_prompt/' $HOME/.bashrc > $HOME/tmp; mv $HOME/tmp $HOME/.bashrc;
RUN echo "export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3"
Expand Down

0 comments on commit bac7c1d

Please sign in to comment.