collection.dockerfile/alpine/terraform13/Dockerfile

10 lines
371 B
Docker
Raw Normal View History

2024-02-01 22:13:51 +08:00
FROM alpine:latest
LABEL description="Terraform1.3 on Alpine"
LABEL maintainer="xpk@headdesk.me"
ENV container docker
RUN apk update
RUN apk add wget curl git bash libarchive-tools aws-cli
RUN wget -qO - https://releases.hashicorp.com/terraform/1.3.9/terraform_1.3.9_linux_amd64.zip | bsdtar -xOf - > /usr/bin/terraform
RUN chmod 755 /usr/bin/terraform
CMD ["/bin/bash"]