doit: more checks on build
This commit is contained in:
parent
a48c395975
commit
a89399eec3
1 changed files with 5 additions and 5 deletions
10
dodo.py
10
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)],
|
||||
|
|
Loading…
Reference in a new issue