Add some Julia packages

This commit is contained in:
Bradlee Speice 2016-10-11 22:16:36 -04:00
parent cbb5d04383
commit 139eb16345

View File

@ -3,20 +3,47 @@ MAINTAINER Bradlee Speice
LABEL Description="Jupyter server setup for ECBM E4040 Neural Networks" Version="0.1" LABEL Description="Jupyter server setup for ECBM E4040 Neural Networks" Version="0.1"
# Start with the updates # Update our cache first
RUN apt-get update && \ RUN apt-get update && \
# add-apt-repository
apt-get install -y software-properties-common && \
# Add Julia repository
add-apt-repository "ppa:staticfloat/juliareleases" && \
# Install Julia
apt-get update && apt-get install -y julia && \
# Don't install broken Pip # Don't install broken Pip
apt-get install -y python-pip=8.1.1-2 python3-pip=8.1.1-2 python-pip-whl=8.1.1-2 && \ apt-get install -y python-pip=8.1.1-2 python3-pip=8.1.1-2 python-pip-whl=8.1.1-2 && \
# Install the Scipy stuff we need # Install the Scipy stuff we need
apt-get install -y \ apt-get install -y \
python3 libpython3-dev \
python-pandas python-matplotlib \ python-pandas python-matplotlib \
texlive-latex-extra texlive-fonts-recommended texlive-generic-recommended pandoc texlive-latex-extra texlive-fonts-recommended texlive-generic-recommended pandoc
# And the python-specific tools # And the python-specific tools
RUN pip install theano jupyter RUN pip install theano jupyter
# And the Julia-specific tools
# Note that this must be after installing Jupyter to pick up the kernel
RUN julia -e 'Pkg.update()' && \
julia -e '[Pkg.add(s) for s in [
"Mocha",
"ArrayFire",
"Knet",
"Gadfly",
"IJulia",
"Distributions",
"ImageMagick",
"Plots",
"GR"
]]'
# And the startup script # And the startup script
COPY . / COPY . /