aboutsummaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorTim Lucas <t@toolmantim.com>2018-03-15 23:57:03 +1100
committerTim Lucas <t@toolmantim.com>2018-03-15 23:57:03 +1100
commit162d70f3784124050ac7c705cecb4e395733642e (patch)
treeb6028002f4bb8ea3b1c1923324446380b0e765b3 /README
parent7e5d7caa2a4ce3cdb97cb3b859e252c75726d5ae (diff)
downloaddocker-puppeteer-162d70f3784124050ac7c705cecb4e395733642e.tar.gz
docker-puppeteer-162d70f3784124050ac7c705cecb4e395733642e.tar.zst
docker-puppeteer-162d70f3784124050ac7c705cecb4e395733642e.zip
Initial commit
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b58eff5
--- /dev/null
+++ b/README
@@ -0,0 +1,18 @@
1# Docker Puppeteer
2
3A Puppeteer Docker image based on the code here (Apache 2.0 license):
4https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
5
6An example for how to use:
7
8```Dockerfile
9FROM buildkite/puppeteer
10
11RUN npm install mocha
12ENV PATH="${PATH}:/node_modules/.bin"
13
14# The `tests` dir is expected to be mounted into here
15WORK_DIR /home/pptr
16
17CMD ["mocha", "--recursive", "tests"]
18``` \ No newline at end of file