This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build step to create a Terraform bundle per our included terraform-bundle.hcl | |
FROM golang:alpine AS terraformbundler | |
ENV TERRAVER=v0.12.16 | |
RUN apk --update add git unzip openssh-client && \ | |
go get -d -v github.com/hashicorp/terraform && \ | |
git -C ./src/github.com/hashicorp/terraform checkout $TERRAVER && \ | |
go install ./src/github.com/hashicorp/terraform/tools/terraform-bundle | |
COPY terraform-bundle.hcl . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build step to create a Terraform bundle per our included terraform-bundle.hcl | |
FROM golang:alpine AS terraformbundler | |
ENV TERRAVER=v0.12.16 | |
RUN apk --update add git unzip openssh-client && \ | |
go get -d -v github.com/hashicorp/terraform && \ | |
git -C ./src/github.com/hashicorp/terraform checkout $TERRAVER && \ | |
go install ./src/github.com/hashicorp/terraform/tools/terraform-bundle |