/gitlab-ci-terraform

Alpine image with Terraform for use as base in Gitlab CI builds

gitlab-ci-terraform

Good news! This image is no longer needed in GitLab and GitLab Runner 9.4 and later, thanks to the Extended Docker configuration options.

Same as the official hashicorp/docker-hub-images, but without ENTRYPOINT.

Prior to version 9.4, Gitlab CI did not let you override ENTRYPOINT, meaning you can't use the official terraform image in your Gitlab-CI builds.

This image removes the entrypoint, allowing the container operator (the Gitlab-CI runner) to specify which CMD to invoke the container with.

Example

.gitlab-ci.yml file example:

image: jonatanblue/gitlab-ci-terraform:latest

test:
  script:
    - terraform --version

Builds

Automated builds set up on Docker Hub