diff --git a/ansible/roles/offline-installer/templates/build.sh.j2 b/ansible/roles/offline-installer/templates/build.sh.j2 index cd623171561191ff85e709154448bf5c3742216e..9e78dae7e96521c65fbe95eef4467bed4040260f 100644 --- a/ansible/roles/offline-installer/templates/build.sh.j2 +++ b/ansible/roles/offline-installer/templates/build.sh.j2 @@ -5,7 +5,14 @@ echo "Offline Installer for Sunbird" # Build script set -eo pipefail +if [ "{{offline_installer_type}}" == "windows32" ]; +then + + docker run --rm -v ${PWD}:/offline/ i386/node:8.16-stretch bash -x 32-bit-prerequisite.sh + +fi + #chmod +x setupOfflineInstaller.sh docker run --rm --env-file envfile --env ELECTRON_CACHE="/root/.cache/electron" --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" -v ${PWD}:/project electronuserland/builder:wine bash -x setupOfflineInstaller.sh -echo "Archieved 64 bit DIKSHA\ Setup\ 1.0.0.exe and DIKSHA_1.0.0_amd64.deb" +echo "Build the installer succesfully"