Pull docker images in initialize script

This allows us to move platform.initialize to whenever the domain
is setup. Thus allowing box code to startup faster the first time
around.
This commit is contained in:
Girish Ramakrishnan
2017-01-09 09:22:22 -08:00
parent 3c55ba1ea9
commit 588bb2df2f
2 changed files with 14 additions and 12 deletions

View File

@@ -177,7 +177,7 @@ fi
if [[ "${initBaseImage}" == "true" ]]; then
echo "=> Installing base dependencies (this takes some time) ..."
if ! /bin/bash "${box_src_tmp_dir}/baseimage/initializeBaseUbuntuImage.sh" "${provider}" &>> "${LOG_FILE}"; then
if ! /bin/bash "${box_src_tmp_dir}/baseimage/initializeBaseUbuntuImage.sh" "${provider}" "../src" &>> "${LOG_FILE}"; then
echo "Init script failed. See ${LOG_FILE} for details"
exit 1
fi