My goal is to run a docker container that will simulate a physical device that sends requests to an external API.
The simulator lives in a GitHub repo and after cloning it is run by bash scripts that:
- Set up a virtualenv.
- Run maven build.
- Execute other commands via Python that runs a docker container.
- It can also remove docker container.
How can I simplify these dependencies and make sure everything is packed in a working container (application that otherwise would be run through shell scripts)?
Source: Docker Questions