mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-26 09:05:13 +01:00
added image cleanup
This commit is contained in:
6
dist/setup.sh
vendored
6
dist/setup.sh
vendored
@@ -427,6 +427,12 @@ if [[ -f installer/config.sh ]]; then
|
||||
. installer/config.sh
|
||||
fi
|
||||
|
||||
if [[ $CLEANUP && $(docker image ls | grep cyphernodeconf) =~ cyphernodeconf ]]; then
|
||||
step " [32mclean[0m cyphernodeconf image"
|
||||
try docker image rm cyphernodeconf > /dev/null 2>&1
|
||||
next
|
||||
fi
|
||||
|
||||
modify_permissions
|
||||
|
||||
if [[ $INSTALL == 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user