https://github.com/common-workflow-language/common-workflow-language/blob/master/v1.0/v1.0/writable-dir-docker.cwl can be adapted as an example