Skip to content

Instantly share code, notes, and snippets.

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 amitjamadagni/92312476ed274db36ec9a1ed01794e9a to your computer and use it in GitHub Desktop.
Save amitjamadagni/92312476ed274db36ec9a1ed01794e9a to your computer and use it in GitHub Desktop.
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