mirror of
https://github.com/coredns/coredns.git
synced 2025-11-23 12:14:02 -05:00
Use pre_build hook in docker hub to build the coredns binary (#799)
and skip the download process. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
7
hooks/pre_build
Normal file
7
hooks/pre_build
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
echo "=> Building the CoreDNS binary"
|
||||
docker run \
|
||||
-v $(pwd):/go/src/github.com/coredns/coredns \
|
||||
-w /go/src/github.com/coredns/coredns \
|
||||
golang:1.8.0 \
|
||||
make
|
||||
Reference in New Issue
Block a user