Merge branch '17022-user-activity-report' refs #17022
[arvados.git] / apps / workbench / app / controllers / work_units_controller.rb
index 8c4e5e7d9f3f5c64ebb04e4175710c46eefab4ff..237cf2755512f1a54ced262df4c722238935d342 100644 (file)
@@ -117,12 +117,16 @@ class WorkUnitsController < ApplicationController
               if hint[:keep_cache]
                 keep_cache = hint[:keep_cache]
               end
+              if hint[:acrContainerImage]
+                attrs['container_image'] = hint[:acrContainerImage]
+              end
             end
           end
         end
       end
 
       attrs['command'] = ["arvados-cwl-runner",
+                          "--enable-reuse",
                           "--local",
                           "--api=containers",
                           "--project-uuid=#{params['work_unit']['owner_uuid']}",