Skip to content

Commit

Permalink
Install terraform in test containers (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsmatulisgoogle authored Jul 17, 2024
1 parent bc44f26 commit b3b26dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kokoro/scripts/test/go_test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ RUN apt-get update

RUN apt-get install --yes python3-yaml

# Install terraform
RUN apt-get update && apt-get install -y gnupg software-properties-common
RUN wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
RUN apt-get update && apt-get install terraform

# Install go/grte.
COPY grte-runtimes.deb /install/grte-debs/
RUN dpkg -i /install/grte-debs/*.deb

0 comments on commit b3b26dc

Please sign in to comment.