I realized that it's valuable to be able to have all the dependencies (without the data and code) since building the docker image takes a lot of resources from the analysis itself. I have created a separate repository (https://github.com/everhartlab/sclerotinia-366-dependencies) to hold the dockerfile that builds this code. This means that we can replace much of the current dockerfile with:
FROM zkamvar/sclerotinia-366-dependencies
MAINTAINER Zhian Kamvar <zkamvar@gmail.com>
## Copy the current directory to /analysis
COPY . /analysis
## Run the analysis
RUN . /etc/environment \
&& cd /analysis \
&& make clean \
&& make -j 4
I realized that it's valuable to be able to have all the dependencies (without the data and code) since building the docker image takes a lot of resources from the analysis itself. I have created a separate repository (https://github.com/everhartlab/sclerotinia-366-dependencies) to hold the dockerfile that builds this code. This means that we can replace much of the current dockerfile with: