diff --git a/alpine/terraform13/Dockerfile b/alpine/terraform13/Dockerfile new file mode 100644 index 0000000..57cff0e --- /dev/null +++ b/alpine/terraform13/Dockerfile @@ -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"] diff --git a/alpine/terraform13/build.sh b/alpine/terraform13/build.sh new file mode 100755 index 0000000..ac35fc7 --- /dev/null +++ b/alpine/terraform13/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export DOCKER_BUILDKIT=1 +docker buildx build --network host -t alpine/terraform13 .