everhartlab / sclerotinia-366

Analysis for "Population structure and phenotypic variation of *Sclerotinia sclerotiorum* from dry bean (*Phaseolus vulgaris*) in the United States"
https://doi.org/10.7717/peerj.4152
Other
11 stars 6 forks source link

Modify dockerfile to use dependency dockerfile #18

Closed zkamvar closed 6 years ago

zkamvar commented 6 years ago

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
zkamvar commented 6 years ago

This was fixed in 314d1f0b4d4a13ff41f51031fe1e92de87c5674b.