I would like to be able to run this program in a few machines without installing all the required packages in every machine. Now, the program is running on one of these machines, so I thought in doing an image of it using docker with the following Dockerfile
FROM python:2
COPY . /app
WORKDIR /app
CMD ./waf # <--- problem is here
Now, the ideal would be that I could execute the script waf
along with different options. For instance, to be able to run the example
./waf --run scratch/qkd_channel_test
However, I am not able to "add" the option run
into the command docker run qkdnet-img --run
. At some point, I need also to be able to open files with the program, e.g. to "feed" into the execution scratch/qkd_channel_test
How can I do this or how should I build the image in order to execute all these cases?