0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-24 23:30:39 +00:00
wp-opentofu/Dockerfile

16 lines
478 B
Docker
Raw Normal View History

2015-11-09 19:23:42 +00:00
# Docker image for Drone's terraform deployment plugin
#
# CGO_ENABLED=0 go build -a -tags netgo
# docker build --rm=true -t plugins/drone-terraform .
FROM gliderlabs/alpine:3.2
RUN apk-install ca-certificates
RUN mkdir /terraform
ENV PATH /terraform:$PATH
WORKDIR /terraform
ADD https://releases.hashicorp.com/terraform/0.6.6/terraform_0.6.6_linux_amd64.zip terraform.zip
RUN unzip terraform.zip
WORKDIR /
ADD drone-terraform /bin/
ENTRYPOINT ["/bin/drone-terraform"]