Skip to content
Snippets Groups Projects
Commit 38f367dd authored by Nicolas Descostes's avatar Nicolas Descostes
Browse files

replace by revision

parent 0f931e97
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,13 @@ image:
## WRITE YOUR TEST RULE HERE AFTER BRANCHING ON SUBMISSION AND CREATE A MERGE REQUEST
genomeInfoDb-1323-test:
extends: .templateTest
variables:
BASENAME: genomeInfoDb
TAG: 1323
RECIPE_PATH: recipes/rpackages/bioconductor/genomeInfoDb
#####################
## Include
#####################
......
BootStrap: docker
From: ubuntu:bionic
%help
This singularity installs R v 4.2.1 and the genomeInfoDb package
%post
# ~~~~~~ General setup and folder creation ~~~~~~ #
apt-get update && apt-get install -y wget build-essential libxml2
export LC_ALL=C
export LC_CTYPE=C
export LC_COLLATE=C
export LC_TIME=C
export LC_MESSAGES=C
export LC_MONETARY=C
export LC_PAPER=C
export LC_MEASUREMENT=C
# ~~~~~ MINICONDA ~~~~~ #
wget https://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh && \
bash Miniconda3-4.7.12.1-Linux-x86_64.sh -b -p /conda && \
rm -f Miniconda3-4.7.12.1-Linux-x86_64.sh
export PATH="/conda/bin:${PATH}"
# ~~~~~ R v 4.1.1 ~~~~~ #
conda install -c conda-forge r-base=4.2.1
# ~~~~~ R packages ~~~~~ #
R --slave -e 'install.packages("BiocManager", repos="https://cloud.r-project.org/")'
R --slave -e 'BiocManager::install("GenomeInfoDb")'
%environment
export PATH="${PATH}:/conda/bin"
export LC_ALL=C
export LC_CTYPE=C
export LC_COLLATE=C
export LC_TIME=C
export LC_MESSAGES=C
export LC_MONETARY=C
export LC_PAPER=C
export LC_MEASUREMENT=C
%labels
Author Nicolas Descostes
Version v0.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment