Skip to content

Commit

Permalink
add fix for bad pub keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Oct 17, 2024
1 parent 9c39c27 commit 3c2344d
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions scripts/references/Dockerfile
Original file line number Diff line number Diff line change
@@ -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()"

0 comments on commit 3c2344d

Please sign in to comment.