kubernetes/build/pause/pause.go
Victor Marmol 88317efb42 Add a pause image for the net container.
The pause image is a 240KB image that simply pauses waiting on a signal.
Use this for the net container which only needs to act as a placeholder.
Current net image is ~2.5MB. From my tests, this reduces startup time
for the net container from ~14s to ~6s.
2014-07-21 10:28:49 -07:00

9 lines
105 B
Go

package main
import "syscall"
func main() {
// Halts execution, waiting on signal.
syscall.Pause()
}