check for container.ini
This commit is contained in:
parent
74a9f60d77
commit
74b53ae193
|
@ -9,6 +9,10 @@ DEBUG=false
|
|||
COMPILE=true
|
||||
java_version=11
|
||||
|
||||
|
||||
CONTAINERFILE=docker/container.ini
|
||||
|
||||
|
||||
################################################################################
|
||||
# Help #
|
||||
################################################################################
|
||||
|
@ -73,6 +77,17 @@ while getopts $OPTSTRING opt; do
|
|||
esac
|
||||
done
|
||||
|
||||
if ! test -e "$CONTAINERFILE"; then
|
||||
echo "missing docker/container.ini file.
|
||||
|
||||
Create and configurate your container.config.ini file from container.default.ini,
|
||||
then create a symbolic link to container.ini
|
||||
|
||||
cp docker/container.default.ini docker/container.configuration.ini
|
||||
ln -s docker/container.configuration.ini docker/container.ini"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [ $COMPILE = true ]; then
|
||||
mvn clean package
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue