Fixing up Dockerfiles some more to get tests passing fully

This commit is contained in:
James Cammarata
2016-03-04 09:16:10 -05:00
parent 2da2dc621b
commit 7f34705b0c
3 changed files with 49 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
# fake some events needed for correct startup other services
description "In-Container Upstart Fake Events"
start on startup
script
rm -rf /var/run/*.pid
rm -rf /var/run/network/*
/sbin/initctl emit stopped JOB=udevtrigger --no-wait
/sbin/initctl emit started JOB=udev --no-wait
/sbin/initctl emit runlevel RUNLEVEL=3 --no-wait
end script