From 0ef5b3a0626f5c09be689f93696f3d49e624b16d Mon Sep 17 00:00:00 2001 From: Jacob Henner Date: Tue, 28 Nov 2017 21:51:56 -0500 Subject: [PATCH] Create Dockerfile and README.md --- Dockerfile | 5 +++++ README.md | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..66f9c91 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM ruby:2.4 + +MAINTAINER Jacob Henner + +RUN gem install puppet puppet-lint puppet-syntax rspec-puppet puppetlabs_spec_helper jsonlint yaml-lint diff --git a/README.md b/README.md new file mode 100644 index 0000000..a603507 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# puppet-test-docker + +## Purpose +This Docker image is useful for testing Puppet code, especially as the base image for a dockerized continuous integration process. It includes the following RubyGems: + +1. puppet +2. puppet-lint +3. puppet-syntax +4. rspec-puppet +5. puppetlabs_spec_helper +6. jsonlint +7. yaml-lint + +## Using this image +To pull this image: `docker pull jacobhenner/puppet-test` + +To run this image interactively: `docker run -it jacobhenner/puppet-test /bin/bash` + +## Copyright +See [LICENSE](LICENSE). \ No newline at end of file