Skip to content
Permalink
Browse files

Add nemsver and build number

  • Loading branch information...
Cat5TV committed Aug 20, 2019
1 parent 76e0c7d commit e0c5c7dcee5099b60c24234fb78f9308f1175a85
Showing with 6 additions and 4 deletions.
  1. +4 −2 notes/docker/image/compile
  2. +2 −2 notes/docker/image/stage2/Dockerfile
@@ -4,11 +4,13 @@
# Thanks to cube8021 for pointing out this feature on Discord
# Done a bit differently here since the stages are all local (not public)

read -r -p "What build number is this? " buildnum

# Prep Debian Buster for NEMS Linux conversion
docker build -t nemsprep stage1
docker build --label build="$nemsver" -t nemsprep stage1

# Deploy and compile NEMS Linux
docker build -t nemslinux stage2
docker build --label build="$nemsver" -t nemslinux stage2

# Prepare Image

@@ -1,5 +1,7 @@
FROM nemsprep:latest

LABEL nemsver="1.5"

ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
@@ -11,6 +13,4 @@ MAINTAINER Robbie Ferguson <nems@category5.tv>

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

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

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

0 comments on commit e0c5c7d

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