Skip to content

Commit 01c02c1

Browse files
author
Anton Khodak
committed
Fix docker tests
1 parent ffc8f21 commit 01c02c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cwltool/job.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ def run(self, pull_image=True, rm_container=True,
506506

507507
for t, v in self.environment.items():
508508
runtime.append(u"--env=%s=%s" % (t, v))
509+
runtime.append(img_id)
510+
509511
elif container_manager == "singularity":
510512
runtime = [u"singularity", u"--quiet", u"exec"]
511513

@@ -533,7 +535,7 @@ def run(self, pull_image=True, rm_container=True,
533535
for t, v in self.environment.items():
534536
env["SINGULARITYENV_" + t] = v
535537

536-
runtime.append("docker://" + img_id)
538+
runtime.append("docker://" + img_id)
537539

538540
self._execute(
539541
runtime, env, rm_tmpdir=rm_tmpdir, move_outputs=move_outputs)

0 commit comments

Comments
 (0)