diff options
author | 2016-09-19 00:03:59 +0200 | |
---|---|---|
committer | 2016-09-19 00:03:59 +0200 | |
commit | c531d6db935c274bf24aa249f0f563adb3906761 (patch) | |
tree | c79eaf1d848e96d6ddc5e026e327459188da055d | |
parent | drop openrc stubs in Dockerfiles (diff) | |
download | docker-images-c531d6db935c274bf24aa249f0f563adb3906761.tar.gz docker-images-c531d6db935c274bf24aa249f0f563adb3906761.tar.bz2 docker-images-c531d6db935c274bf24aa249f0f563adb3906761.zip |
Update rc_sys setting to detect docker env
OpenRC is able to detect docker containers
-rw-r--r-- | amd64-hardened-nomultilib/Dockerfile | 2 | ||||
-rw-r--r-- | amd64-hardened/Dockerfile | 2 | ||||
-rw-r--r-- | amd64-nomultilib/Dockerfile | 2 | ||||
-rw-r--r-- | amd64/Dockerfile | 2 | ||||
-rw-r--r-- | x86/Dockerfile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/amd64-hardened-nomultilib/Dockerfile b/amd64-hardened-nomultilib/Dockerfile index f4f1154..c5c5687 100644 --- a/amd64-hardened-nomultilib/Dockerfile +++ b/amd64-hardened-nomultilib/Dockerfile @@ -8,7 +8,7 @@ ADD build.sh / RUN /build.sh amd64 x86_64 -hardened+nomultilib # Setup the rc_sys -RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf +RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf # By default, UTC system RUN echo 'UTC' > /etc/timezone diff --git a/amd64-hardened/Dockerfile b/amd64-hardened/Dockerfile index 994b7f4..bfde2bf 100644 --- a/amd64-hardened/Dockerfile +++ b/amd64-hardened/Dockerfile @@ -8,7 +8,7 @@ ADD build.sh / RUN /build.sh amd64 x86_64 -hardened # Setup the rc_sys -RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf +RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf # By default, UTC system RUN echo 'UTC' > /etc/timezone diff --git a/amd64-nomultilib/Dockerfile b/amd64-nomultilib/Dockerfile index eafb747..11b811e 100644 --- a/amd64-nomultilib/Dockerfile +++ b/amd64-nomultilib/Dockerfile @@ -8,7 +8,7 @@ ADD build.sh / RUN /build.sh amd64 x86_64 -nomultilib # Setup the rc_sys -RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf +RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf # By default, UTC system RUN echo 'UTC' > /etc/timezone diff --git a/amd64/Dockerfile b/amd64/Dockerfile index 2599070..374947c 100644 --- a/amd64/Dockerfile +++ b/amd64/Dockerfile @@ -8,7 +8,7 @@ ADD build.sh / RUN /build.sh amd64 x86_64 # Setup the rc_sys -RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf +RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf # By default, UTC system RUN echo 'UTC' > /etc/timezone diff --git a/x86/Dockerfile b/x86/Dockerfile index ac49203..835c5b8 100644 --- a/x86/Dockerfile +++ b/x86/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \ RUN /build.sh x86 i686 # Setup the rc_sys -RUN sed -e 's/#rc_sys=""/rc_sys="lxc"/g' -i /etc/rc.conf +RUN sed -e 's/#rc_sys=""/rc_sys="docker"/g' -i /etc/rc.conf # By default, UTC system RUN echo 'UTC' > /etc/timezone |