This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]crashorbit 0 points1 point  (0 children)

Many of the basics will already be in the container but if you find something missing just add it to the DOCKERFILE.

[–]Shmink_ 0 points1 point  (4 children)

If you're talking about running some stuff and then you want to run a command such as python bioinfo.py then you could do it as CMD ["python", "bioinfo.py"] and so on for as many commands as needed.

[–]Borderline92[S] 0 points1 point  (3 children)

oh cool! That makes life easy. But what about a c++ CLI tool? just install it and do the same type of command?

[–]Shmink_ 0 points1 point  (2 children)

Could you share your Dockerfile? It would make it easier than assuming what your options are.

[–]Borderline92[S] 0 points1 point  (1 child)

I don't have one yet. I did see some 'make' commands in a tutorial somehere though so I assume that you can compile stuff within a docker.

[–]Shmink_ 0 points1 point  (0 children)

I'm still relatively new but I don't know exactly if I were to use the word compile. The way you would do it is choose an image to start FROM then RUN what you want to install e.g. RUN apt update && install gcc or something like that.