Skip to content

Instantly share code, notes, and snippets.

@mokiat mokiat/Dockerfile
Created Jan 27, 2016

Embed
What would you like to do?
Dockerfile
FROM ubuntu:14.04.3
RUN apt-get update && apt-get -y install \
git \
mercurial \
curl \
libfontconfig \
wget \
bzip2 \
unzip
RUN wget https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.5.3.linux-amd64.tar.gz
RUN mkdir /root/Go
ENV GOPATH=/root/Go
ENV PATH $PATH:/usr/local/go/bin
ENV PATH $PATH:$GOPATH/bin
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
tar xvfj phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
mv phantomjs-2.1.1-linux-x86_64 /usr/local/phantomjs
ENV PATH $PATH:/usr/local/phantomjs/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.