From 3c2344d51becaeca17a3221ff4ea444a995354c2 Mon Sep 17 00:00:00 2001 From: rxu17 <26471741+rxu17@users.noreply.github.com> Date: Wed, 16 Oct 2024 20:15:27 -0700 Subject: [PATCH] add fix for bad pub keys --- scripts/references/Dockerfile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/scripts/references/Dockerfile b/scripts/references/Dockerfile index 390fe230..cdcfc275 100644 --- a/scripts/references/Dockerfile +++ b/scripts/references/Dockerfile @@ -1,21 +1,19 @@ -FROM r-base:4.0.0 +FROM rstudio/r-base:4.0-bullseye WORKDIR /usr/local/src/myscripts ENV RENV_VERSION 0.14.0 +# RUN rm /etc/apt/apt.conf.d/default +RUN apt-get update -y && apt-get install -y dpkg-dev zlib1g-dev libssl-dev libffi-dev curl libcurl4-openssl-dev procps -RUN rm /etc/apt/apt.conf.d/default -RUN apt-get update -y -RUN apt-get install -y dpkg-dev zlib1g-dev libssl-dev libffi-dev -# procps is required for nextflow tower -RUN apt-get install -y curl libcurl4-openssl-dev procps -RUN R -e "install.packages('synapser', repos=c('http://ran.synapse.org', 'http://cran.fhcrc.org'))" - -ENV PYTHON /usr/local/lib/R/site-library/PythonEmbedInR/bin/python3.6 RUN R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))" RUN R -e "remotes::install_github('rstudio/renv@${RENV_VERSION}')" +RUN R -e "remotes::install_version('synapser', version = '0.11.7', repos = c('http://ran.synapse.org', 'http://cran.fhcrc.org'))" + +ENV PYTHON /usr/local/lib/R/site-library/PythonEmbedInR/bin/python3.6 + COPY . . -RUN R -e "renv::restore()" +RUN R -e "renv::restore()" \ No newline at end of file