-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
41 lines (36 loc) · 1.48 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## This Dockerfile describes the R analysis environment for:
##
## Kamvar ZN, Amaradasa BS, Jhala R, McCoy S, Steadman JR, Everhart SE. (2017) Population
## structure and phenotypic variation of _Sclerotinia sclerotiorum_ from dry bean
## (_Phaseolus vulgaris_) in the United States. PeerJ 5:e4152 https://doi.org/10.7717/peerj.4152
##
## package versions here are locked to those present on 2017-09-30
##
## Note: this Dockerfile was modified from
## https://github.com/NESCent/popgen-docker/blob/193387d3f1e5484ef8a1ddf6d66cfca64ccd40d7/Rpopgen/Dockerfile
##
## It also includes logic from
## https://github.com/benmarwick/mjbtramp/blob/898ee99f17d64a41161a8b6760325572c7406b4b/Dockerfile
## Note: this pulls from rocker/verse:3.4.2
FROM everhartlab/sclerotinia-366-dependencies:latest
MAINTAINER Zhian Kamvar <[email protected]>
## Copy the current directory to /analysis
COPY . /analysis
RUN . /etc/environment \
&& cd /analysis \
&& make clean \
&& make -j 4
# NOTES TO SELF IN A MARWICKIAN FASION
#
## To work on this project within the container
#
# docker run --rm --name ssc -dp 8787:8787 -v $(pwd):/home/rstudio/ -e ROOT=TRUE everhartlab/sclerotinia-366:latest
#
## This will allow me to open Rstudio from my browser and work on it within the container.
## It should be noted, however that I still need to commit from my command line as the
## git bot in Rstudio doesn't appear to update inside of the container.
##
## When done with the container, be sure to stop it:
#
# docker stop ssc
#