Skip to content

Commit

Permalink
improve build script to notcie errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebSLane committed Sep 21, 2023
1 parent 5633e51 commit cd2a8ae
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,36 @@ echo "creating docker images"
#create data import docker image
#bash ${INSTALL_DIR}/buildProject.sh -dl ${CONSOLIDATED_SERVER_DIR}
bash ${INSTALL_DIR}/buildProject.sh -dl ${PROJECT_DIR}/fhir -t hapi-fhir-jpaserver
if [ $? != 0 ]
then
echo
echo build failed hapi-fhir-jpaserver
exit $?
fi
#create the frontend docker image
bash ${INSTALL_DIR}/buildProject.sh -dl ${PROJECT_DIR}/frontend -t openelisglobal-frontend
if [ $? != 0 ]
then
echo
echo build failed openelisglobal-frontend
exit $?
fi
#create the frontend docker image
bash ${INSTALL_DIR}/buildProject.sh -dl ${PROJECT_DIR}/nginx-proxy -t nginx-proxy
if [ $? != 0 ]
then
echo
echo build failed nginx-proxy
exit $?
fi
#create the docker image
bash ${INSTALL_DIR}/buildProject.sh -dl ${PROJECT_DIR} -t openelisglobal
if [ $? != 0 ]
then
echo
echo build failed openelisglobal
exit $?
fi

createLinuxInstaller() {
context=$1
Expand Down

0 comments on commit cd2a8ae

Please sign in to comment.