image-poc

Description

Creates a base image

Ownership

TF:OP

Build

To run config script locally:

$ docker build -t mybase:image_ci .
$ docker run -d -i mybase:image_ci

To run Packer locally:

$ packer build ./Packerfile.pkr.hcl

Test

Run InSpec (cinc-auditor) against Docker container.

$ bundle install
$ bundle exec cinc-auditor exec ./test/integration/base_config -t docker://<container id>

CI/CD

Builds

Upon each push, CI will be triggered to run on GitHub Actions.

Contributing

  1. Create a branch off of main.
  2. Make your change.
  3. Add a test for your change (test/integration/default).
  4. See the CI builds section below and ensure your build is green!
  5. Open a PR back into main.