-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (19 loc) · 892 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM andrewosh/binder-base
# MAINTAINER Andrew Osheroff <[email protected]>
USER root
# Add Julia dependencies
RUN apt-get update && apt-get install -y wget && apt-get clean
RUN pip install --upgrade cython numpy scipy matplotlib qutip
USER main
RUN wget https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.5-linux-x86_64.tar.gz
RUN mkdir $HOME/julia
RUN tar xvf julia-0.4.5-linux-x86_64.tar.gz -C $HOME/julia --strip-components=1
ENV PATH $PATH:$HOME/julia/bin
# Install Julia kernel
RUN julia -e 'Pkg.add("IJulia")'
RUN julia -e 'Pkg.add("PyPlot")'
RUN julia -e 'Pkg.add("Gadfly")'
RUN julia -e 'Pkg.clone("https://github.com/JuliaQuantum/QuBase.jl.git")'
RUN julia -e 'Pkg.clone("https://github.com/acroy/Expokit.jl.git")'
RUN julia -e 'Pkg.clone("https://github.com/marcusps/ExpmV.jl.git")'
RUN julia -e 'Pkg.clone("https://github.com/JuliaQuantum/QuDynamics.jl.git")'