Skip to content

Commit

Permalink
Merge pull request #2 from jinyangyang222/feature/provide-Dockerfile
Browse files Browse the repository at this point in the history
provide docker file
  • Loading branch information
swaroopar authored Aug 16, 2023
2 parents 3b9dcb8 + e50587c commit b353f65
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM eclipse-temurin:17

RUN apt-get update && \
apt-get install unzip wget -y
ENV TERRAFORM_VERSION=1.4.4
RUN wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
RUN unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip
RUN mv terraform /usr/bin/terraform
COPY target/terraform-boot-*.jar terraform-boot.jar
ENTRYPOINT ["java","-jar","terraform-boot.jar"]

0 comments on commit b353f65

Please sign in to comment.