Skip to content
Permalink
Browse files

Further improvements to Docker

  • Loading branch information...
Cat5TV committed Aug 20, 2019
1 parent a96ca4f commit 175ee48a1ff10f17231770664b9dff6bd9aa6204
Showing with 4 additions and 3 deletions.
  1. +3 −2 nems-build.sh
  2. +1 −1 notes/docker/image/stage2/Dockerfile
@@ -39,8 +39,9 @@ if [ ! -z $1 ]; then
fi

if (( $1 == 21 )); then
echo "Moving systemctl to PID-1"

echo "DOCKER :: Moving systemctl to PID-1"
exec /usr/bin/systemctl default --init
echo "" && ps -fp 1 && sleep 5
fi

wget -q -O /tmp/hw_model.sh https://raw.githubusercontent.com/Cat5TV/nems-scripts/master/hw_model.sh
@@ -11,6 +11,6 @@ MAINTAINER Robbie Ferguson <nems@category5.tv>

ENTRYPOINT ["/usr/bin/systemctl","default","--init"]

RUN ps -fp 1 && sleep 5
RUN echo "" && ps -fp 1 && sleep 5

RUN /root/nems/nems-admin/nems-build.sh 21

0 comments on commit 175ee48

Please sign in to comment.
You can’t perform that action at this time.