-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (19 loc) · 912 Bytes
/
Dockerfile
File metadata and controls
23 lines (19 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM bioinstaller/bioinstaller
## This handle reaches Jianfeng
MAINTAINER "Jianfeng Li" lee_jianfeng@life2cloud.com
Add . /tmp/rctl
RUN su opencpu \
&& /bin/bash \
&& export PATH=/home/opencpu/opt/miniconda2/bin:$PATH \
&& conda install go nodejs \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge \
&& conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2 \
&& echo 'export NODE_PATH="/home/opencpu/opt/miniconda2/lib/node_modules/"\n' >> /etc/profile \
&& npm install -g npm \
&& npm install -g yarn \
&& echo 'export PATH=$PATH:~/.yarn/bin/\n' >> /etc/profile \
&& yarn global add /tmp/rctl \
&& rm -rf /tmp/rctl\
&& rdeps
CMD runuser -s /bin/bash -l opencpu -c '. /etc/profile; rctl'