Skip to content
Snippets Groups Projects

Resolve "Create terratest docker image"

Compare and
6 files
+ 120
35
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 15
0
FROM golang:1.17
# Install terraform, k0sctl, go-junit-report and terratest_log_parser
RUN apt-get update && apt-get install unzip \
&& wget https://releases.hashicorp.com/terraform/1.0.9/terraform_1.0.9_linux_amd64.zip \
&& unzip terraform_1.0.9_linux_amd64.zip && rm terraform_1.0.9_linux_amd64.zip \
&& mv ./terraform /usr/local/go/bin \
&& wget https://github.com/k0sproject/k0sctl/releases/download/v0.11.3/k0sctl-linux-x64 \
&& mv ./k0sctl-linux-x64 k0sctl \
&& chmod +x k0sctl \
&& mv ./k0sctl /usr/local/go/bin \
&& wget -O terratest_log_parser https://github.com/gruntwork-io/terratest/releases/download/v0.13.13/terratest_log_parser_linux_amd64 \
&& chmod +x terratest_log_parser \
&& mv terratest_log_parser /usr/local/bin \
&& go get -u github.com/jstemmer/go-junit-report
\ No newline at end of file
Loading