sed -e "s|apiHOST|https://girder.local.wholetale.org|g" \
    -e "s|dashboardHOST|https://dashboard.local.wholetale.org|g" \
    -e "s|dataOneHOST|https://cn-stage-2.test.dataone.org|g" \
    -e "s|authPROVIDER|Globus|g" -i config/environment.js && \
npm -g install bower && \
unset NODE_ENV && npm -s install && \
bower install --allow-root
./node_modules/.bin/ember build --environment=production

sed -e "s|apiHOST|https://girder.local.wholetale.org|g" \
    -e "s|dashboardHOST|https://dashboard.local.wholetale.org|g" \
    -e "s|dataOneHOST|https://cn-stage-2.test.dataone.org|g" \
    -e "s|authPROVIDER|Globus|g" -i config/environment.js && \
npm -g install bower && \
unset NODE_ENV && npm -s install && \
apt-get update -qqy && \
apt-get install -y git && \
bower install --allow-root && \
./node_modules/.bin/ember build --environment=production

Make sure that git is installed, before calling bower in initial dashboard build
Make sure that git is installed, before calling bower in initial dashboard build
