add coredns

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle
2018-01-02 13:04:34 -05:00
parent 198c76d938
commit f59c31059a
3 changed files with 36 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ RUN buildDeps=' \
libc-dev \
libgcc \
make \
zip \
' \
set -x \
&& apk --no-cache add --repository https://dl-3.alpinelinux.org/alpine/edge/community $buildDeps \
@@ -26,10 +25,11 @@ RUN buildDeps=' \
&& git clone --depth 1 --branch ${TERRAFORM_VERSION} https://github.com/hashicorp/terraform /go/src/github.com/hashicorp/terraform \
&& cd /go/src/github.com/hashicorp/terraform \
&& XC_ARCH="amd64" XC_OS="linux" make bin \
&& mv pkg/linux_amd64/terraform /usr/bin/ \
&& mv bin/terraform /usr/bin/terraform \
&& apk del $buildDeps \
&& rm -rf /go \
&& echo "Build complete."
ENTRYPOINT [ "terraform" ]
CMD [ "--help" ]