NEW: terraform 1.3 on alpine

This commit is contained in:
KF 2024-02-01 22:13:51 +08:00
parent 59fdd9ed23
commit 584d473002
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
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"]

3
alpine/terraform13/build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
export DOCKER_BUILDKIT=1
docker buildx build --network host -t alpine/terraform13 .