Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle
2018-09-05 12:48:06 -04:00
parent 7a35c8fd39
commit 4b7ab239d7
2 changed files with 18 additions and 24 deletions

View File

@@ -23,7 +23,7 @@ RUN git checkout "${TERRAFORM_VERSION}"
# See: https://github.com/golang/go/issues/10249
RUN go install ./vendor/...
RUN XC_ARCH="amd64" XC_OS="linux" LD_FLAGS=" -extldflags -static" make bin \
RUN XC_ARCH="amd64" XC_OS="linux" LD_FLAGS=" -extldflags -static" make fmt bin \
&& mv bin/terraform /usr/bin/terraform
FROM alpine:latest