Skip to content

Commit

Permalink
fix: graalvm image terraform install (#806)
Browse files Browse the repository at this point in the history
* fix: graalvm image terraform install

* fix: use modified hashicorp repo configuration
  • Loading branch information
burkedavison authored Apr 16, 2024
1 parent 3416405 commit 96589ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cloudbuild/graalvm-a.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
RUN yum install -y docker-engine docker-cli

# Install terraform
# See also https://www.hashicorp.com/official-packaging-guide
COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
RUN yum -y install terraform

# Install jq
Expand Down
2 changes: 2 additions & 0 deletions .cloudbuild/graalvm-b.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
RUN yum install -y docker-engine docker-cli

# Install terraform
# See also https://www.hashicorp.com/official-packaging-guide
COPY hashicorp.repo /etc/yum.repos.d/hashicorp.repo
RUN yum -y install terraform

# Install jq
Expand Down
13 changes: 13 additions & 0 deletions .cloudbuild/hashicorp.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[hashicorp]
name=Hashicorp Stable - $basearch
baseurl=https://rpm.releases.hashicorp.com/RHEL/7/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg

[hashicorp-test]
name=Hashicorp Test - $basearch
baseurl=https://rpm.releases.hashicorp.com/RHEL/7/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg

0 comments on commit 96589ef

Please sign in to comment.