
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
docker-terraform-ci
Advanced tools
The dwmkerr/terraform-ci
Dockerfile provides a useful baseline image for run Terraform related CI tasks.
You can use this image to run CI pipelines which build infrastructure. There is a more detailed article describing this approach on the way, which uses a CI build for dwmkerr/terraform-aws-openshift
as an example.
The image is based on Debian Stretch (specifically the official debian:stretch
image).
This image contains a number of tools which are useful when working with Terraform.
All baseline Debian stretch tools, as well as tools needed by CircleCI 2 images, and some useful utilities:
make
wget
git
ssh
tar
gzip
unzip
ca-certificates
curl
shellcheck
Terraform, and Terraform Lint:
terraform
(0.12)tflint
(0.10)Some tools which are useful for Terraform Backends
aws
The code is structured like this:
Dockerfile # the important thing, the actual dockerfile
makefile # commands to build, test deploy etc
test.sh # a simple test script
package.json # used for versioning only
The makefile contains commands to build, test and deploy. Parameters can be passed as environment variables or through the command-line.
Command | Notes |
---|---|
make build | Builds the image dwmkerr/terraform-ci:latest and dwmkerr/terraform-ci:<version> . The version is loaded from package.json . |
make test | Runs the test scripts. |
make deploy | Deploys the images to the docker hub. If you are not logged in, you're gonna have a bad time. |
The tests are simple bash scripts which check for basic capabilities which relate to the image. Essentially, this means they'll test the tools are installed.
To create a release:
npm run release
to bump and update the changeloggit push --follow-tags
A package.json
file is used to store the version number, however the project has no other dependencies on Node.js than this part of the release process. It is just allows for convenient management of a CHANGELOG.md
file and the version by using standard-version.
FAQs
Dockerfile for Terraform CI related tasks.
The npm package docker-terraform-ci receives a total of 1 weekly downloads. As such, docker-terraform-ci popularity was classified as not popular.
We found that docker-terraform-ci demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.