This simplifies the process of building docker images. So we don't need to write complex procedures to do it in Makefile with separate intermediate containers. Users can use this single Dockerfile to create aledbf/kube-keepalived-vip image
Update golang version to 1.14
Golang 1.14 has various performance improvements in runtime and compiler, especially in timer, locks and goroutines (Huge improvement).
See Go 1.14 Release Notes
Coverage remained the same at 15.014% when pulling 4ff03215fd845c460a4c902fc5dc71733ff2de93 on YanzheL:patch-docker into 121232b26a70c8c06bf1c834f291c451a387b3b7 on aledbf:master.
What does this PR do
Multi-stage builder in single Dockerfile
This simplifies the process of building docker images. So we don't need to write complex procedures to do it in
Makefile
with separate intermediate containers. Users can use this singleDockerfile
to createaledbf/kube-keepalived-vip
imageUpdate golang version to
1.14
Golang
1.14
has various performance improvements in runtime and compiler, especially in timer, locks and goroutines (Huge improvement). See Go 1.14 Release NotesUpdate keepalived to
v2.0.20