The following is a step by step example of how to build a docker image that complies to the "bioboxes" standard which means only a small amount of code should have to be changed in order build customized assembly docker images. All the steps required to build and run a docker image should be included here but you should consult "bioboxes.org" for details.
If you use the minia assembler as an example, and follow these steps, you should be able to build and run the minia image without changing any code.