Browse Source

Upgrade Terraform to 0.8.7

pull/37/head
Florian Bertholin 8 years ago
parent
commit
258732e1d2
  1. 12
      Dockerfile

12
Dockerfile

@ -2,14 +2,20 @@
# #
# docker build --rm=true -t jmccann/drone-terraform:latest . # docker build --rm=true -t jmccann/drone-terraform:latest .
FROM alpine:3.4 FROM alpine:3.5
ENV TERRAFORM_VERSION 0.8.7
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \
apk -U add \ apk -U add \
ca-certificates \ ca-certificates \
git \ git \
terraform && \ wget && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/* && \
wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O terraform.zip && \
unzip terraform.zip && \
rm terraform.zip && \
mv terraform /bin
ADD drone-terraform /bin/ ADD drone-terraform /bin/
ENTRYPOINT ["/bin/drone-terraform"] ENTRYPOINT ["/bin/drone-terraform"]

Loading…
Cancel
Save