Skip to content
Permalink
Browse files

attempt deploy base on Docker

  • Loading branch information...
Cat5TV committed Aug 21, 2019
1 parent 90af73b commit 9b87de062585c4f94c6d152a42bc493ec202236d
Showing with 12 additions and 7 deletions.
  1. +12 −7 nems-build.sh
@@ -125,22 +125,27 @@ if (( $1 != 21 )); then
df -hT /etc
sleep 5

for pkg in $(grep -vE "^\s*#" build/packages.base | tr "\n" " ")
do
apt -y --no-install-recommends install $pkg
done
fi

# Install base packages (This will happen on all platforms including Docker)
for pkg in $(grep -vE "^\s*#" build/packages.base | tr "\n" " ")
do
apt -y --no-install-recommends install $pkg
done

if (( $1 != 21 )); then

# Add packages from repositories
for pkg in $(grep -vE "^\s*#" build/packages.add | tr "\n" " ")
do
apt -y --no-install-recommends install $pkg
done

# Install dependencies, if any
apt -y install -f

fi

# Install dependencies, if any
apt -y install -f

# Be up to date
apt update
apt -y upgrade

0 comments on commit 9b87de0

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