fix terraform

Signed-off-by: Jess Frazelle <acidburn@github.com>
This commit is contained in:
Jess Frazelle 2018-12-18 13:13:50 -05:00
parent 152a1d56ad
commit c70cf86b55
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -19,10 +19,6 @@ WORKDIR /go/src/github.com/hashicorp/terraform
RUN git checkout "${TERRAFORM_VERSION}"
# Install the vendor packages so stringer works.
# See: https://github.com/golang/go/issues/10249
RUN go install ./vendor/...
RUN XC_ARCH="amd64" XC_OS="linux" LD_FLAGS=" -extldflags -static" make fmt bin \
&& mv bin/terraform /usr/bin/terraform