Skip to content

Instantly share code, notes, and snippets.

@gmatheu
Created January 14, 2016 01:59
Show Gist options
  • Save gmatheu/cd8e3fbd2292ace75042 to your computer and use it in GitHub Desktop.
Save gmatheu/cd8e3fbd2292ace75042 to your computer and use it in GitHub Desktop.
frontend-runner
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -yy wget curl
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -yy xvfb firefox google-chrome-stable build-essential libssl-dev
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
RUN bash -c 'source ~/.nvm/nvm.sh; nvm install v5.4.1'
RUN bash -c 'source ~/.nvm/nvm.sh; nvm alias default v5.4.1'
RUN bash -c 'source ~/.nvm/nvm.sh; nvm use default'
RUN bash -c 'source ~/.nvm/nvm.sh; npm install -g grunt-cli'
ENV DISPLAY :99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment