0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-28 08:40:35 +00:00

Update build process for plugin

Favor grabbing release directly and pinning version
This commit is contained in:
Jacob McCann 2017-04-07 09:39:10 -05:00
parent 2d3b9fd201
commit 6f5847f90d
2 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,7 @@ workspace:
pipeline: pipeline:
test: test:
image: golang:1.6 image: golang:1.8
environment: environment:
- CGO_ENABLED=0 - CGO_ENABLED=0
commands: commands:

View File

@ -4,12 +4,16 @@
FROM alpine:3.4 FROM alpine:3.4
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ RUN apk -U add \
apk -U add \
ca-certificates \ ca-certificates \
git \ git \
terraform && \ wget && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
ENV TERRAFORM_VERSION 0.8.8
RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O terraform.zip && \
unzip terraform.zip -d /bin && \
rm -f terraform.zip
ADD drone-terraform /bin/ ADD drone-terraform /bin/
ENTRYPOINT ["/bin/drone-terraform"] ENTRYPOINT ["/bin/drone-terraform"]