Skip to content

Commit 6c6186a

Browse files
committed
NSOF-5653 Dockerfile: add dockerfile for pfptmeta provider builds
1 parent 1c8fe3b commit 6c6186a

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM golang:1.16-bullseye
2+
3+
ENV TERRAFORM_VERSION=0.14.0
4+
5+
RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list \
6+
&& apt update \
7+
&& apt install goreleaser -y
8+
9+
RUN apt install unzip -y
10+
11+
RUN wget -nv https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
12+
&& unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
13+
&& rm terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
14+
&& mv terraform /usr/local/bin
15+
16+
WORKDIR /root/terraform-provider-pfptmeta

0 commit comments

Comments
 (0)