FROM ubuntu:18.04 ADD npmrc /root/.npmrc RUN apt-get update && apt-get install -y \ build-essential \ gettext-base \ git \ jq \ openjdk-8-jdk=8u162-b12-1 openjdk-8-jre=8u162-b12-1 openjdk-8-jdk-headless=8u162-b12-1 openjdk-8-jre-headless=8u162-b12-1 openjdk-8-source=8u162-b12-1 \ curl \ xvfb \ icewm RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \ && apt-get install -y nodejs RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ && apt-get update \ && apt-get install -y yarn # Install Google Chrome RUN curl -sS https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ && apt-get update && apt-get install -y google-chrome-stable RUN npm install -g vsce RUN yarn global add lerna CMD /bin/bash