gentoo-openrc/Dockerfile.template: Add sys-apps/openrc to @world trim
authorW. Trevor King <wking@tremily.us>
Sat, 30 Aug 2014 16:44:36 +0000 (09:44 -0700)
committerW. Trevor King <wking@tremily.us>
Sat, 30 Aug 2014 16:45:56 +0000 (09:45 -0700)
So we don't remove it if we clear @system and --depclean.

gentoo-openrc/Dockerfile.template

index b1f88dc79061a79e3fd1f22f0d94b54ee1f12aa1..55b328efef708c32a5f41d7af4b224ae73e72bc3 100644 (file)
@@ -25,6 +25,7 @@
 FROM ${NAMESPACE}/gentoo-portage:${TAG}
 MAINTAINER ${MAINTAINER}
 
+RUN emerge --noreplace sys-apps/openrc
 RUN sed -i 's/#rc_sys=""/rc_sys="lxc"/g' /etc/rc.conf
 
 # Networking is setup by Docker