summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Bradberry <jeff.bradberry@gmail.com>2024-04-17 22:27:54 +0200
committerJeff Bradberry <jeff.bradberry@gmail.com>2024-04-17 22:45:23 +0200
commitc0f71801f6f75c1af92662dd00178c45e2036933 (patch)
treeddb00706848061391780604950b73c95cc36d6f4 /Makefile
parentOmit using -X when not needed, and don't default to demonstrating -k (diff)
downloadawx-c0f71801f6f75c1af92662dd00178c45e2036933.tar.xz
awx-c0f71801f6f75c1af92662dd00178c45e2036933.zip
Use $(shell ...) to filter the redis docker volumes
Makefiles use $() for variable templating, so trying to use it directly as a shell subcommand doesn't work.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5aa49ee9ab..2f5223621f 100644
--- a/Makefile
+++ b/Makefile
@@ -616,7 +616,7 @@ docker-clean:
-$(foreach image_id,$(shell docker images --filter=reference='*/*/*awx_devel*' --filter=reference='*/*awx_devel*' --filter=reference='*awx_devel*' -aq),docker rmi --force $(image_id);)
docker-clean-volumes: docker-compose-clean docker-compose-container-group-clean
- docker volume rm -f tools_var_lib_awx tools_awx_db tools_awx_db_15 tools_vault_1 tools_ldap_1 tools_grafana_storage tools_prometheus_storage $(docker volume ls --filter name=tools_redis_socket_ -q)
+ docker volume rm -f tools_var_lib_awx tools_awx_db tools_awx_db_15 tools_vault_1 tools_ldap_1 tools_grafana_storage tools_prometheus_storage $(shell docker volume ls --filter name=tools_redis_socket_ -q)
docker-refresh: docker-clean docker-compose