Gitlab CI does 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.
In your .gitlab-ci.yml file:
image: djerfy/gitlab-ci-terraform:latest
terraform_version:
tags:
- terraform
script:
- terraform --version
Content type
Image
Digest
sha256:f3a7336ce…
Size
45.1 MB
Last updated
11 days ago
docker pull djerfy/gitlab-ci-terraform