diff --git a/dodo.py b/dodo.py index 5496146..ce552f0 100644 --- a/dodo.py +++ b/dodo.py @@ -1,4 +1,5 @@ import subprocess +import os from doit.tools import LongRunning @@ -14,11 +15,10 @@ def task_build(): '''builda il container docker''' return { 'uptodate': [up2date_anyimages], - 'file_dep': ['docker-compose.yml', 'docker/Dockerfile-tt-rss', - 'docker/ttrss-openrc-apache', - 'docker/ttrss-openrc-ttrssupdate', - 'rss-bridge/Dockerfile' - ], + 'file_dep': ['docker-compose.yml', + 'rss-bridge/Dockerfile', + ] + [os.path.join('docker', fname) + for fname in os.listdir('docker')], 'actions': [COMPOSE + ' build'], 'clean': [run_task_func(task__build_rm), run_task_func(task__build_rmi)],