Sign inSign up

rovecom/newman

By rovecom

Updated almost 10 years ago

Docker image with Newman installed. Optimized for GitLab CI, so not entrypoint.

Image
0

10K+

rovecom/newman repository overview

docker-newman

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 image

Build the image by running:

docker build -t rovecom/newman .

Pull image

You can get it from docker hub

docker pull rovecom/newman:3.3.0

Run the image

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

Tag summary

Content type

Image

Digest

Size

31.5 MB

Last updated

almost 10 years ago

docker pull rovecom/newman