Created
June 21, 2016 18:12
-
-
Save amitjamadagni/92312476ed274db36ec9a1ed01794e9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM andrewosh/binder-base | |
# MAINTAINER Andrew Osheroff <andrewosh@gmail.com> | |
USER root | |
# Add Julia dependencies | |
RUN apt-get update && apt-get install -y wget && apt-get clean | |
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")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment