I’m building several images corresponding to a list of programs, and an image that use all of them. The thing is, I don’t get how to access the programs from the latter. An example will be easier to understand, say I have this image:
FROM ubuntu:14.04 RUN apt-get -y install python3-pip python3.4-dev RUN pip3 install snakemake
Now when I run this image, the command “snakemake” works just fine.
Now I have this second image:
FROM ubuntu:14.04 FROM my/python:1.0
When I run this image, I can’t execute the “snakemake” command. I have the same issue with other programs for which I manually update the $PATH or manipulate executable files, so I’m looking for a general solution on how to handle these issues.
I know this may be trivial, but I’m new to Docker and I don’t understand all of the concepts yet.
Thank you !
Linux Mint Debian Edition
Docker version 1.9.1, build a34a1d5