008f87e9886426bd3f98efced35c498cc80da13b
- Dependencies: latest execline/s6/s6-portable-utils at this time - Interactive CMDs should now work properly with or without terminals. If not, play with s6-setsid a bit more. - The scandir is now in /var/run/s6/service, because it gets written into at run-time - User service directories are now listed in /etc/services.d and will be *copied* to /var/run/s6/service during init-stage2 - Yeah, I really hate writing to /, and you should hate it, too. - Init order: * our own services in /etc/s6/service are copied to /var/run/s6/service (stage 1) * s6-svscan is run * scripts in /etc/cont-init.d are run (stage 2) * services in /etc/services.d are copied to /var/run/s6/service and picked up by s6-svscan * If a CMD was given, it is run. i.e. the whole stage 2 is executed whether a CMD was given or not, so CMDs are always executed in a properly initted environment. - Since all the user stuff is started in stage 2, we can guarantee all the dependencies for stage 1, so no fix-attrs in stage 1. Stage 1 is now extremely short, as it should be. - Can't escape the fix-attrs in stage 2 though, but provided a chunk of execline to do the functionality. (Probably very slow.) - Plus a bunch of tiny fixes, mostly cosmetic.
docker build . | \
tail -n 1 | awk '{ print $3; }' | \
xargs docker run --rm -v `pwd`/dist:/dist
Description
s6 overlay для контейнеров (включает execline, s6-linux-utils и пользовательскую инициализацию)
780 KiB
0 Stars
1 Watchers
0 Forks
Languages
Shell
56.7%
Makefile
43.3%