Skip to content

Commit 7abb78c

Browse files
committedSep 19, 2018
Update susie image
1 parent b6c1656 commit 7abb78c

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed
 

‎docker/susieR.dockerfile

+19-18
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ RUN apt-get update \
1111
RUN apt-get update \
1212
&& apt-get install -y libatlas3-base libssl-dev libcurl4-openssl-dev libxml2-dev curl \
1313
&& apt-get clean
14-
RUN R --slave -e "install.packages('pkgdown')"
15-
RUN R --slave -e "for (p in c('dplyr', 'stringr', 'readr', 'magrittr')) if (!require(p, character.only=TRUE)) install.packages(p)"
16-
17-
# Finemapping /large scale regression related
18-
RUN R --slave -e "install.packages('glmnet')"
19-
RUN R --slave -e "devtools::install_github('glmgen/genlasso')"
20-
RUN R --slave -e "devtools::install_github('hazimehh/L0Learn')"
21-
RUN R --slave -e "install.packages('matrixStats')"
22-
RUN R --slave -e "install.packages(c('reshape', 'ggplot2'))"
2314

2415
RUN apt-get update \
2516
&& apt-get install -y libgsl-dev libboost-iostreams-dev \
@@ -37,14 +28,6 @@ RUN curl -L https://github.com/xqwen/dap/archive/master.zip -o master.zip \
3728
# && tar zxvf finemap.tgz && mv finemap_v1.1_x86_64/finemap_v1.1_x86_64 /usr/local/bin/finemap \
3829
# && chmod +x /usr/local/bin/finemap && rm -rf /tmp/*
3930

40-
# DSC related
41-
RUN apt-get update \
42-
&& apt-get install -y python3-pip \
43-
&& apt-get clean
44-
45-
RUN pip3 install sos sos-notebook dsc rpy2==2.9.4 tzlocal --no-cache-dir
46-
RUN R --slave -e "devtools::install_github('stephenslab/dsc',subdir = 'dscrutils')"
47-
4831
# Supporting files
4932
RUN curl -L https://raw.githubusercontent.com/stephenslab/susieR/master/inst/code/finemap.R -o /usr/local/bin/finemap.R \
5033
&& chmod +x /usr/local/bin/finemap.R
@@ -55,6 +38,24 @@ RUN curl -L https://raw.githubusercontent.com/stephenslab/susieR/master/inst/cod
5538
RUN curl -L https://raw.githubusercontent.com/stephenslab/susieR/master/inst/code/dap-g.py -o /usr/local/bin/dap-g.py \
5639
&& chmod +x /usr/local/bin/dap-g.py
5740

41+
RUN apt-get update \
42+
&& apt-get install -y python3-pip libfreetype6-dev pkg-config \
43+
&& apt-get clean
44+
45+
RUN R --slave -e "install.packages(c('pkgdown', 'devtools'))"
46+
RUN R --slave -e "install.packages(c('reshape', 'ggplot2'))"
47+
RUN R --slave -e "install.packages(c('profvis', 'microbenchmark'))"
48+
RUN R --slave -e "for (p in c('dplyr', 'stringr', 'readr', 'magrittr')) if (!require(p, character.only=TRUE)) install.packages(p)"
49+
50+
# Finemapping /large scale regression related
51+
RUN R --slave -e "install.packages('glmnet')"
52+
RUN R --slave -e "devtools::install_github('glmgen/genlasso')"
53+
RUN R --slave -e "devtools::install_github('hazimehh/L0Learn')"
54+
RUN R --slave -e "install.packages('matrixStats')"
55+
56+
# DSC update
57+
RUN pip3 install sos sos-notebook dsc rpy2==2.9.4 tzlocal --no-cache-dir
58+
RUN R --slave -e "devtools::install_github('stephenslab/dsc',subdir = 'dscrutils')"
5859

5960
# susieR update
6061
ARG DUMMY=unknown
@@ -71,4 +72,4 @@ CMD ["bash"]
7172
# alias docker-susie="docker run --rm --security-opt label:disable -t -h susie -P -w $PWD -v $PWD:$PWD -u $UID:${GROUPS[0]} -e HOME=/home/$USER -e USER=$USER gaow/susie"
7273

7374
# 2. To run and build `susieR` vignettes:
74-
# docker-susie R --slave -e "pkgdown::build_site()"
75+
# docker-susie R --slave -e "pkgdown::build_site()"

0 commit comments

Comments
 (0)
Please sign in to comment.