Docker image with packer and goss provisioner. It allows CI servers to use this image, speeding the build and deploy process.
For more information about the components:
To develop and test the container image you need:
Build and Test
In order to build and test in your development machine you:
- From your command line navigate to the root of the repo
docker build -f Dockerfile -t joaoasrosa/packer-goss:latest .
container-structure-test test --image joaoasrosa/packer-goss:latest --config ./command-tests.yaml
To use the image, on a command line or terminal:
docker run -i -t joaoasrosa/packer-goss:latest <command>
If the build and test is sucessful, you can commit the changes to the server (in a branch). After it open the PR for review. Please note that all the commits need to be signed. You can follow the GitHub instructions.
After it has been approved, the container will be available to the developer community.
Do not forget to add your name and email to the
maintainers label within the
Dockerfile. You deserve credit! :)