image_build

contributions requested
Build Docker and ACI images using Puppet code

29,452 downloads

17,980 latest version

4.1 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.7.0 (latest)
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jul 26th 2017

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-image_build', '0.6.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-image_build
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-image_build --version 0.6.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppetlabs/image_build — version 0.6.0 Jul 26th 2017

##2017-07-26 - Version 0.6.0

  • Adds the ability to specify a Docker network for the docker build command
  • Can now skip the installation of Puppet if the base image already has it installed

This release also fixes an issue where a failure in the Puppet run during image build would not propogate the error so the command line exits with a non-zero exit code.

##2017-07-25 - Version 0.5.0

Adding a couple of user requested features, specifically the ability to disable the diff output, and also the ability to enable full debug output from the Puppet process run inside the container during build

##2017-07-25 - Version 0.4.0

This release adds support for using the Puppet 5 repositories, and switches the default Puppet used to build images to Puppet 5.

##2017-03-22 - Version 0.3.0

This release includes some minor features and several bug fixes, including:

  • Adds the ability to specify a list of volumes for the image
  • Fix a bug which meant building Centos images didn't work as expected

Thanks to community member @luckyraul for the volumes addition, and to @aaron-grewell for reporting and testing the fix for the Centos issue.

##2017-02-21 - Version 0.2.0

This release includes some minor features and several bug fixes, including:

  • Fail the build if Puppet apply fails
  • Support passing a directory of manifests as well as a single manifest
  • Correctly discover more debian based images
  • Initial support for passing in fact values
  • Retain packages useful for r10k and git based Puppet modules
  • Support passing an https proxy

Thanks to community members @gerardkok, @luckyraul, @arnd, @McSlow, @jonnaladheeraj and @oc243 for input into this release.