-
-
Save jgoldfar/b6deb09c2a8cf09fa745 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
# Minimal Dockerfile for downloading and running | |
# generic Linux Julia binaries on Ubuntu 14.04 | |
# Or pick any other distribution and adjust the apt-get lines | |
FROM ubuntu:14.04 | |
MAINTAINER Tony Kelman <tony@kelman.net> | |
RUN apt-get update && \ | |
apt-get install git curl -y && \ | |
mkdir -p /home/user/julia && \ | |
curl -s -L https://status.julialang.org/stable/linux-x86_64 | \ | |
tar -C /home/user/julia -x -z --strip-components=1 -f - && \ | |
export PATH=$PATH:/home/user/julia/bin && \ | |
julia -e 'Base.runtests()' | |
# comment out that last line for faster build without running tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment