Created
May 3, 2018 15:22
-
-
Save gdomiciano/36f6f894e4e4199501a558ae0b926ebd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM node:8.7.0 | |
#-------------------------- Basic Test Setup ------------------------# | |
#Chrome dependencies and Yarn installation | |
RUN apt-get update -y && apt-get -y -q install curl sudo gnupg apt-transport-https dpkg gconf-service libgconf-2-4 fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 libasound2 libgtk-3-0 libnspr4 libnss3 lsb-release unzip | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
RUN apt-get update -y && apt-get -y -q install -f yarn | |
#headless Chrome installation | |
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
RUN dpkg -i google-chrome*.deb | |
#Ava, Nightwatch installation | |
RUN yarn global add ava nightwatch chromedriver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment