Skip to content

Commit

Permalink
Update Dockerfile to use bioconductor/bioconductor:3.17 as base image…
Browse files Browse the repository at this point in the history
… and install BiocParallel package
  • Loading branch information
jjjermiah committed Mar 2, 2024
1 parent ce9ed0e commit 7c96efd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Build with: docker build -t bhklab/annotationgx-r:$TAG -f Dockerfile .
# you can set TAG=$(grep 'Version:' DESCRIPTION | grep -oE '[0-9]+(\.[0-9]+)*')
# To push to dockerhub run docker push bhklab/annotationgx-r:$TAG
FROM rocker/r-base:latest
FROM bioconductor/bioconductor:3.17

# copy the current directory contents into the container at /app
COPY . /app

# set a working directory
WORKDIR /app

RUN R -e 'install.packages(c("BiocManager", "devtools", "jsonlite", "qpdf"), repos=c("https://cloud.r-project.org/", "https://cran.rstudio.com/"))'
# RUN R -e 'install.packages(c("BiocManager", "devtools", "jsonlite", "qpdf"), repos=c("https://cloud.r-project.org/", "https://cran.rstudio.com/"))'
RUN R -e 'BiocManager::install("BiocParallel")'
RUN R -e 'devtools::install(".", dependencies=TRUE, upgrade="never")'

# RUN install2.r --error --deps TRUE \
# qpdf \
# devtools \
Expand Down

0 comments on commit 7c96efd

Please sign in to comment.