Created
September 15, 2017 00:33
-
-
Save dodozhang21/11a91452d9a1afd6133775d96e2b8266 to your computer and use it in GitHub Desktop.
This file contains 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
# Copied and modified from https://github.com/amio/docker-node-chrome | |
FROM node:6.10.3 | |
LABEL name="node-chrome" | |
# Install Chrome | |
RUN echo 'deb http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/chrome.list | |
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
RUN set -x \ | |
&& apt-get update \ | |
&& apt-get install -y \ | |
google-chrome-stable | |
ENV CHROME_BIN /usr/bin/google-chrome | |
ENV CHROME_PATH /usr/bin/google-chrome | |
# Log versions | |
RUN set -x \ | |
&& node -v \ | |
&& npm -v \ | |
&& google-chrome --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment