Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 714 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 714 Bytes

docker-serverspec

Build Status

docker-serverspec is a minimal Ruby image capable of running rspec / serverspec for the (integration) testing of Docker images.

Getting Started

The following command can be used as an example as well as to test the Dockerfile for this repository.

$ docker run --rm --name integration-test \
➭ -v /var/run/docker.sock:/var/run/docker.sock \
➭ -v $(pwd):/docker-serverspec \
➭ -w /docker-serverspec \
➭ jadametz/serverspec \
➭ spec/
...

Finished in 0.97621 seconds (files took 0.54975 seconds to load)
3 examples, 0 failures