Skip to content

Instantly share code, notes, and snippets.

@pmandreoli
Created May 14, 2019 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmandreoli/ce120612afd0ac9ee80ce70c90e7d324 to your computer and use it in GitHub Desktop.
Save pmandreoli/ce120612afd0ac9ee80ce70c90e7d324 to your computer and use it in GitHub Desktop.
simple wrapper with docker container as requirement
<tool id="hello_world" name="hello_world" version="0.1.0">
<requirements>
<container type="docker">ubuntu</container>
</requirements>
<command>
<![CDATA[
echo "Hello World";
echo "Hello World output file content" > $output &&
]]>
</command>
<inputs>
<param name="job_name" type="text" size="25" label="output name" value="HelloWorldValue"/>
</inputs>
<outputs>
<data format="txt" name="output" />
</outputs>
</tool>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment