Skip to content

Instantly share code, notes, and snippets.

@jgoldfar
Forked from anonymous/Dockerfile
Last active August 30, 2015 18:36
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 jgoldfar/b6deb09c2a8cf09fa745 to your computer and use it in GitHub Desktop.
Save jgoldfar/b6deb09c2a8cf09fa745 to your computer and use it in GitHub Desktop.
# 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