diff --git a/Dockerfile b/Dockerfile index a173baa..05388ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,11 +9,12 @@ RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf unzip terraform.zip -d /bin && \ rm -f terraform.zip -FROM scratch +#TODO: need to add rm to scratch +#FROM scratch ENV GODEBUG=netdns=go -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -COPY --from=alpine /bin/terraform /bin/terraform +#COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +#COPY --from=alpine /bin/terraform /bin/terraform diff --git a/Dockerfile.arm b/Dockerfile.arm index 89323f5..3219b48 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -6,11 +6,13 @@ RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraf unzip terraform.zip -d /bin && \ rm -f terraform.zip -FROM scratch +#TODO: need to add rm to scratch +#FROM scratch ENV GODEBUG=netdns=go -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +#COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +#COPY --from=alpine /bin/terraform /bin/terraform LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/jmccann/drone-terraform.git" diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 043997a..83a44e2 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -1,16 +1,18 @@ FROM alpine:3.6 as alpine -RUN apk add -U --no-cache ca-certificates +RUN apk add -U --no-cache ca-certificates git wget ENV TERRAFORM_VERSION 0.10.3 RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_arm.zip -O terraform.zip && \ unzip terraform.zip -d /bin && \ rm -f terraform.zip -FROM scratch +#TODO: need to add rm to scratch +#FROM scratch ENV GODEBUG=netdns=go -COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +#COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ +#COPY --from=alpine /bin/terraform /bin/terraform LABEL org.label-schema.version=latest LABEL org.label-schema.vcs-url="https://github.com/jmccann/drone-terraform.git"