File tree 3 files changed +17
-0
lines changed
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
37
37
RUN yum install -y docker-engine docker-cli
38
38
39
39
# Install terraform
40
+ # See also https://www.hashicorp.com/official-packaging-guide
41
+ COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
40
42
RUN yum -y install terraform
41
43
42
44
# 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
37
37
RUN yum install -y docker-engine docker-cli
38
38
39
39
# Install terraform
40
+ # See also https://www.hashicorp.com/official-packaging-guide
41
+ COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
40
42
RUN yum -y install terraform
41
43
42
44
# 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