- follow instructions from https://docs.google.com/document/d/1a9cdsljKxCSreR2LDE3KErJhfyC0N9y5ju2UYZb8-J4/edit to compile headless chrome
cd chromium/src/out/Debug
- place the Dockerfile in this Debug dir
docker build -t chromeheadless .
docker run -p 9222:9222 chromeheadless
Created
August 8, 2016 21:00
-
-
Save jotto/e1d9bef56a5e466bb4254e31c15e9dc4 to your computer and use it in GitHub Desktop.
headless dev branch of Chrome Dockerfile
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
FROM ubuntu:14.04 | |
RUN apt-get -y update | |
RUN apt-get -y install libnss3 libfontconfig1-dev | |
COPY ./* / | |
EXPOSE 9222 | |
ENTRYPOINT ["./headless_shell", "--remote-debugging-address=0.0.0.0", "--remote-debugging-port=9222", "--no-sandbox"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment