
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.
14 lines
158 B
Makefile
14 lines
158 B
Makefile
pause: pause.asm
|
|
ifneq ($(shell uname), Linux)
|
|
echo "Must build on Linux"
|
|
exit 1
|
|
else
|
|
nasm -o $@ $<
|
|
chmod +x pause
|
|
endif
|
|
|
|
all: pause
|
|
|
|
clean:
|
|
rm -f pause
|