Skip to content

Commit c263e91

Browse files
authored
Merge pull request #1417 from sjspielman/sjspielman/1415-bump-simulate-sce
Update simulate-sce to use bioc 3.20
2 parents b09e24c + 27eac4a commit c263e91

4 files changed

Lines changed: 5928 additions & 1454 deletions

File tree

analyses/simulate-sce/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Docker image for the simulate-sce analysis module
2-
FROM bioconductor/r-ver:3.19
2+
FROM bioconductor/r-ver:3.20
33

44
# Labels following the Open Containers Initiative (OCI) recommendations
55
# For more information, see https://specs.opencontainers.org/image-spec/annotations/?v=v1.0.1
@@ -49,7 +49,12 @@ RUN Rscript -e "install.packages(c('remotes', 'renv'))"
4949
WORKDIR /usr/local/renv
5050
COPY renv.lock renv.lock
5151
# install packages with renv and remove caches
52-
RUN Rscript -e "renv::restore()" && \
52+
RUN Rscript -e "install.packages('renv')"
53+
54+
WORKDIR /usr/local/renv
55+
COPY renv.lock renv.lock
56+
# install packages with renv and remove caches
57+
RUN Rscript -e "options(renv.config.install.remotes = FALSE); renv::restore()" && \
5358
rm -rf ~/.local/share/renv && \
5459
rm -rf /tmp/downloaded_packages && \
5560
rm -rf /tmp/Rtmp*

0 commit comments

Comments
 (0)