diff options
author | Jeff Bradberry <jeff.bradberry@gmail.com> | 2024-04-17 22:27:54 +0200 |
---|---|---|
committer | Jeff Bradberry <jeff.bradberry@gmail.com> | 2024-04-17 22:45:23 +0200 |
commit | c0f71801f6f75c1af92662dd00178c45e2036933 (patch) | |
tree | ddb00706848061391780604950b73c95cc36d6f4 /Makefile | |
parent | Omit using -X when not needed, and don't default to demonstrating -k (diff) | |
download | awx-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |