File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
3737RUN yum install -y docker-engine docker-cli
3838
3939# Install terraform
40+ # See also https://www.hashicorp.com/official-packaging-guide
41+ COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
4042RUN yum -y install terraform
4143
4244# Install jq
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
3737RUN yum install -y docker-engine docker-cli
3838
3939# Install terraform
40+ # See also https://www.hashicorp.com/official-packaging-guide
41+ COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
4042RUN yum -y install terraform
4143
4244# Install jq
Original file line number Diff line number Diff line change 1+ [hashicorp]
2+ name=Hashicorp Stable - $basearch
3+ baseurl=https://rpm.releases.hashicorp.com/RHEL/7/$basearch/stable
4+ enabled=1
5+ gpgcheck=1
6+ gpgkey=https://rpm.releases.hashicorp.com/gpg
7+
8+ [hashicorp-test]
9+ name=Hashicorp Test - $basearch
10+ baseurl=https://rpm.releases.hashicorp.com/RHEL/7/$basearch/test
11+ enabled=0
12+ gpgcheck=1
13+ gpgkey=https://rpm.releases.hashicorp.com/gpg
You can’t perform that action at this time.
0 commit comments