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.
This commit is contained in:
Victor Marmol
2014-07-19 00:09:43 -07:00
parent 3398646170
commit 88317efb42
7 changed files with 114 additions and 6 deletions

8
build/pause/pause.go Normal file
View File

@@ -0,0 +1,8 @@
package main
import "syscall"
func main() {
// Halts execution, waiting on signal.
syscall.Pause()
}