Skip to content

Commit b3910c7

Browse files
committed
adding test library loads for all installed R libraries
1 parent 75e3b72 commit b3910c7

1 file changed

Lines changed: 49 additions & 35 deletions

File tree

docker/Dockerfile

Lines changed: 49 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,36 @@ FROM rocker/geospatial:4.5.3
22

33
# install system dependencies
44
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
5-
curl \
6-
dnsutils \
7-
git \
8-
jq \
9-
ldap-utils \
10-
libnss-ldapd \
11-
libpam-ldapd \
12-
less \
13-
nano \
14-
nodejs \
15-
nscd \
16-
nslcd \
17-
rsync \
18-
unzip \
19-
vim \
20-
wget \
21-
zip \
22-
python3 \
23-
python3-pip \
24-
python3-venv \
25-
python3-dev \
26-
build-essential \
27-
zlib1g-dev \
28-
libncurses5-dev \
29-
libncursesw5-dev \
30-
libbz2-dev \
31-
liblzma-dev \
32-
libcurl4-openssl-dev \
33-
libssl-dev \
34-
default-jre \
5+
curl \
6+
dnsutils \
7+
git \
8+
jq \
9+
ldap-utils \
10+
libnss-ldapd \
11+
libpam-ldapd \
12+
less \
13+
nano \
14+
nodejs \
15+
nscd \
16+
nslcd \
17+
rsync \
18+
unzip \
19+
vim \
20+
wget \
21+
zip \
22+
python3 \
23+
python3-pip \
24+
python3-venv \
25+
python3-dev \
26+
build-essential \
27+
zlib1g-dev \
28+
libncurses5-dev \
29+
libncursesw5-dev \
30+
libbz2-dev \
31+
liblzma-dev \
32+
libcurl4-openssl-dev \
33+
libssl-dev \
34+
default-jre \
3535
&& rm -rf /var/lib/apt/lists/*
3636

3737

@@ -145,11 +145,11 @@ RUN wget https://github.com/alexdobin/STAR/releases/download/2.7.11b/STAR_2.7.11
145145
# Install QualiMap (resilient)
146146
RUN set -eux; \
147147
curl -fSL --retry 5 --retry-connrefused --retry-delay 3 \
148-
-o qualimap_v2.3.zip \
149-
https://bitbucket.org/kokonech/qualimap/downloads/qualimap_v2.3.zip \
148+
-o qualimap_v2.3.zip \
149+
https://bitbucket.org/kokonech/qualimap/downloads/qualimap_v2.3.zip \
150150
|| curl -fSL --retry 5 --retry-connrefused --retry-delay 3 \
151-
-o qualimap_v2.3.zip \
152-
http://qualimap.conesalab.org/qualimap_v2.3.zip; \
151+
-o qualimap_v2.3.zip \
152+
http://qualimap.conesalab.org/qualimap_v2.3.zip; \
153153
unzip -q qualimap_v2.3.zip; \
154154
mv qualimap_v2.3 /opt/qualimap; \
155155
printf '%s\n' '#!/bin/bash' 'exec java -Xms32m -Xmx2g -jar /opt/qualimap/qualimap.jar "$@"' > /usr/local/bin/qualimap; \
@@ -171,7 +171,21 @@ RUN Rscript -e 'install.packages("BiocManager", repos = "https://cloud.r-project
171171
&& Rscript -e 'BiocManager::install("GO.db")' \
172172
&& Rscript -e 'BiocManager::install("org.Sc.sgd.db")' \
173173
&& Rscript -e 'install.packages("ggiraph")' \
174-
&& Rscript -e 'install.packages("plotly")' \
174+
&& Rscript -e 'install.packages("plotly")'
175+
176+
# confirm all R packages load
177+
RUN Rscript -e 'library(BiocManager)' \
178+
&& Rscript -e 'library(limma)' \
179+
&& Rscript -e 'library(edgeR)' \
180+
&& Rscript -e 'library(DESeq2)' \
181+
&& Rscript -e 'library(beeswarm)' \
182+
&& Rscript -e 'library(knitr)' \
183+
&& Rscript -e 'library(gplots)' \
184+
&& Rscript -e 'library(goseq)' \
185+
&& Rscript -e 'library(GO.db)' \
186+
&& Rscript -e 'library(org.Sc.sgd.db)' \
187+
&& Rscript -e 'library(ggiraph)' \
188+
&& Rscript -e 'library(plotly)'
175189

176190
# Set up environment variables for the virtual environment
177191
ENV PATH="/opt/venv/bin:$PATH"

0 commit comments

Comments
 (0)