0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-21 14:20:40 +00:00
wp-opentofu/Dockerfile
2016-01-26 23:50:26 +01:00

16 lines
478 B
Docker

# 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"]