Little fix

* replace master version of image docker with latest instead of master
* remove interpretation of result at the end of script.
This commit is contained in:
Florian C 2018-10-17 09:49:39 -04:00 committed by GitHub
parent af73341239
commit 119a8f6149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ BASEPATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
COMMAND="docker run -p 80:80 --name ${containerName} -e OCS_DBNAME=${databaseName} \
-e OCS_DBSERVER_READ=${databaseServerRead} -e OCS_DBSERVER_WRITE=${databaseServerWrite} \
-e OCS_DBUSER=${databaseUser} -e OCS_DBPASS=${databasePassword} ${VOLUME_ARGS} -itd ocsinventory/ocsinventory-docker-image:master"
-e OCS_DBUSER=${databaseUser} -e OCS_DBPASS=${databasePassword} ${VOLUME_ARGS} -itd ocsinventory/ocsinventory-docker-image:latest"
echo "========================================="
echo ""
@ -91,11 +91,5 @@ read launchNow
if [ $launchNow = "yes" ]
then
$(${COMMAND})
${COMMAND}
fi