Update 'docker_update.py'
This commit is contained in:
parent
9642071b41
commit
073e1596e8
@ -21,7 +21,7 @@ for line in lines:
|
||||
if s.startswith("#"):
|
||||
continue
|
||||
fullpath = os.path.join(path, s)
|
||||
if os.path.isdir(fullpath) and ("docker compose.yml" in os.listdir(fullpath)):
|
||||
if os.path.isdir(fullpath) and ("docker-compose.yml" in os.listdir(fullpath)):
|
||||
fullpath = os.path.join(fullpath, "docker compose.yml")
|
||||
print("========= Processing " + fullpath + " =========")
|
||||
print(subprocess.check_output("docker compose -f " + fullpath + " pull", shell=True, stderr=subprocess.STDOUT).decode())
|
||||
|
Loading…
Reference in New Issue
Block a user