X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=0e47d4e76fa1cbfc167d0c5f5fbf8a9768be76d9;hb=004e8b20648cef4860a6bcfe5e005ca6f790837e;hp=453245ce058ea6b3aed8835ecde8afe66ca5c6c9;hpb=ed7ac67fbd1dc27a4d821f3a5b1c0d780118e12c;p=github%2Ffretlink%2Fdocker-puppeteer.git diff --git a/README.md b/README.md index 453245c..0e47d4e 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ # Docker Puppeteer -Node 8 + Puppeteer docker base image. Use it to add your own tools (such as a testing framework), configure any linked containers via your Docker Compose config, and run your Puppeteer scripts. +A Node + Puppeteer base image for running Puppeteer scripts. Add your own tools (such as Jest, Mocha, etc), link services you want to test via Docker Compose, and run your Puppeteer scripts with a headless Chromium. + +See the list of [Docker Hub tags](https://hub.docker.com/r/buildkite/puppeteer/tags/) for Puppeteer versions available. ## Usage example Dockerfile.integration-tests: ```Dockerfile -FROM buildkite/puppeteer:1.3.0 -RUN npm i mocha@5 +FROM buildkite/puppeteer:version +RUN npm i mocha ENV PATH="${PATH}:/node_modules/.bin" ``` @@ -83,4 +85,4 @@ Running: ``` docker-compose -f integration-tests run tests -``` \ No newline at end of file +```