Retry npm install in base image script

This commit is contained in:
Johannes Zellner
2016-09-07 14:19:29 +02:00
parent 5d3dca6b3f
commit 9d98f9fcf5
+1 -1
View File
@@ -196,7 +196,7 @@ apt-get install -y cron logrotate
systemctl enable cron
echo "=== Rebuilding npm packages ==="
cd "${INSTALLER_SOURCE_DIR}" && npm install --production
cd "${INSTALLER_SOURCE_DIR}" && while ! npm install --production; do sleep 1; done
chown "${USER}:${USER}" -R "${INSTALLER_SOURCE_DIR}"
echo "==== Install installer systemd script ===="