Commit 9f2c5155 authored by jlopez's avatar jlopez
Browse files

Fix R install

parent 5de61985
......@@ -280,10 +280,19 @@ function generate_container() {
PREVIEW += "\n############### Install R ##############\n";
if(isSingularity) {
PREVIEW += "\t"+manager+" install -y " + "make gcc gfortran g++" + "\n";
} else {
PREVIEW += "RUN "+manager+" install -y " + "make gcc gfortran g++" + "\n";
PREVIEW += "\t"+manager+" install -y " + "make gcc gfortran g++ wget libreadline-dev" + "\n";
PREVIEW += "\t"+manager+" install -y zlib1g zlib1g-dev" + "\n";
PREVIEW += "\t"+manager+" install -y bzip2 libbz2-dev" + "\n";
PREVIEW += "\t"+manager+" install -y liblzma5 liblzma-dev" + "\n";
PREVIEW += "\t"+manager+" install -y libpcre3 libpcre3-dev" + "\n";
PREVIEW += "\t"+manager+" install -y libcurl4 curl libcurl4-openssl-dev" + "\n";
} else {
PREVIEW += "RUN "+manager+" install -y " + "make gcc gfortran g++ wget libreadline-dev" + "\n";
PREVIEW += "RUN "+manager+" install -y zlib1g zlib1g-dev" + "\n";
PREVIEW += "RUN "+manager+" install -y bzip2 libbz2-dev" + "\n";
PREVIEW += "RUN "+manager+" install -y liblzma5 liblzma-dev" + "\n";
PREVIEW += "RUN "+manager+" install -y libpcre3 libpcre3-dev" + "\n";
PREVIEW += "RUN "+manager+" install -y libcurl4 curl libcurl4-openssl-dev" + "\n";
}
if(isSingularity) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment