0.0
No commit activity in last 3 years
No release in over 3 years
A docker spec library to build and test docker containers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

 Project Readme

Docker::Spec

Installation

Add this line to your application's Gemfile:

gem 'docker-spec'

And then execute:

$ bundle

Or install it yourself as:

$ gem install docker-spec

Usage

Add this line to the spec_helper.rb

require 'docker-spec'

And run rspec to build your docker containers

Options are

:build_root: wether to build the root directory or not :build_root: wether to build the docker image :push_container: if the container should be pushed :account: can be the registry URL or the dockerhub account name :name: the docker image / repository name :auth: the auth key used to authenticate if is not dockerhub on ~/.docker/config.js :serveraddress: The server address to authenticate to if not dockerhub :tag_db: The file where to update the tag information :env: an array of VAR=foo environment variables to pass when running :registry: -> registry credentials :username: :password: 📧

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/docker-spec. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.