Docker image with Newman installed. Optimized for GitLab CI, so not entrypoint.
10K+
This image runs newman 3.3.0 on node 4.6.2 on Alpine 3.4.
This image does not have an entrypoint so it is usable in GitLab CI.
Build the image by running:
docker build -t rovecom/newman .
You can get it from docker hub
docker pull rovecom/newman:3.3.0
For newman to be able to use collections and environment files saved on the host machine, and to save reports generated by newman, a directory containing the collection and environment files needs to be mounted on to the docker instance at /work, which is the default working directory.
docker run -v ./collections:/work rovecom/newman newman run mycollection.json --reporters cli,html --reporter-html-export newman-report.html
In case you don't need to save newmans report to the host, and your collection is available online and it does not require any environment, then you can directly pass the collection url to newman.
docker run -t rovecom/newman newman run https://www.getpostman.com/collections/df0a40ef41d570c48154
Content type
Image
Digest
Size
31.5 MB
Last updated
almost 10 years ago
docker pull rovecom/newman