diff options
Diffstat (limited to 'amd64-nomultilib/Dockerfile')
-rw-r--r-- | amd64-nomultilib/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/amd64-nomultilib/Dockerfile b/amd64-nomultilib/Dockerfile new file mode 100644 index 0000000..3fb7d92 --- /dev/null +++ b/amd64-nomultilib/Dockerfile @@ -0,0 +1,24 @@ +FROM busybox + +MAINTAINER Gentoo Docker Team + +# This one should be present by running the build.sh script +ADD build.sh / + +RUN /build.sh amd64 x86_64 -nomultilib + +# Setup the (virtually) current runlevel +RUN echo "default" > /run/openrc/softlevel + +# Setup the rc_sys +RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf + +# Setup the net.lo runlevel +RUN ln -s /etc/init.d/net.lo /run/openrc/started/net.lo + +# Setup the net.eth0 runlevel +RUN ln -s /etc/init.d/net.lo /etc/init.d/net.eth0 +RUN ln -s /etc/init.d/net.eth0 /run/openrc/started/net.eth0 + +# By default, UTC system +RUN echo 'UTC' > /etc/timezone |