Add docker shell mode, and remove some config
This commit is contained in:
parent
479f4c3fa4
commit
27721a8632
8 changed files with 8 additions and 137 deletions
|
@ -4,7 +4,7 @@ MODE="$1"
|
|||
|
||||
display_usage() {
|
||||
echo "This script takes one argument."
|
||||
echo -e "\nUsage: ${0} <config|interactive|batch|both>\n"
|
||||
echo -e "\nUsage: ${0} <shell|config|interactive|batch|both>\n"
|
||||
}
|
||||
|
||||
if [[ "${MODE}" = "help" ]]
|
||||
|
@ -32,6 +32,11 @@ EOF
|
|||
venv/bin/python -m displayversion
|
||||
|
||||
case "$MODE" in
|
||||
"shell")
|
||||
echo "Entering shell mode"
|
||||
/bin/bash
|
||||
exit 0
|
||||
;;
|
||||
"config")
|
||||
echo "Entering config mode, only copying config-app entrypoints"
|
||||
cp -r ${QUAYDIR}/config_app/init/service/* /etc/service
|
||||
|
|
Reference in a new issue