mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
moved sh files to root
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo $IMAGES_TO_BE_DELETED
|
||||
echo "List all images:"
|
||||
docker images -a
|
||||
|
||||
docker_images_list=$(docker images | grep $IMAGES_TO_BE_DELETED | awk '{print $3}' | uniq)
|
||||
if [ "$docker_images_list" == "" ]; then
|
||||
echo "No docker images on the agent"
|
||||
else
|
||||
echo "Clearing images: $docker_images_list"
|
||||
docker rmi -f $docker_images_list
|
||||
fi
|
Reference in New Issue
Block a user