2016-07-05 18:23:41 +00:00
|
|
|
# Docker image for the Drone Terraform plugin
|
2015-11-09 19:23:42 +00:00
|
|
|
#
|
2016-12-22 15:26:16 +00:00
|
|
|
# docker build --rm=true -t jmccann/drone-terraform:latest .
|
2015-11-09 19:23:42 +00:00
|
|
|
|
2016-07-05 18:23:41 +00:00
|
|
|
FROM alpine:3.4
|
2015-11-10 13:56:18 +00:00
|
|
|
|
2016-07-05 18:23:41 +00:00
|
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \
|
|
|
|
apk -U add \
|
|
|
|
ca-certificates \
|
|
|
|
git \
|
|
|
|
terraform && \
|
|
|
|
rm -rf /var/cache/apk/*
|
2015-11-10 13:56:18 +00:00
|
|
|
|
2015-11-09 19:23:42 +00:00
|
|
|
ADD drone-terraform /bin/
|
|
|
|
ENTRYPOINT ["/bin/drone-terraform"]
|