You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
698 B
21 lines
698 B
7 years ago
|
FROM alpine:3.6 as alpine
|
||
|
RUN apk add -U --no-cache ca-certificates git wget
|
||
|
|
||
|
ENV TERRAFORM_VERSION 0.10.3
|
||
|
RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_arm.zip -O terraform.zip && \
|
||
|
unzip terraform.zip -d /bin && \
|
||
|
rm -f terraform.zip
|
||
|
|
||
|
FROM scratch
|
||
|
|
||
|
ENV GODEBUG=netdns=go
|
||
|
|
||
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||
|
|
||
|
LABEL org.label-schema.version=latest
|
||
|
LABEL org.label-schema.vcs-url="https://github.com/jmccann/drone-terraform.git"
|
||
|
LABEL org.label-schema.name="Drone Terraform"
|
||
|
LABEL org.label-schema.vendor="jmccann"
|
||
|
|
||
|
ADD release/linux/arm/drone-terraform /bin/
|
||
|
ENTRYPOINT ["/bin/drone-terraform"]
|