From 1ff28f7ee2e2e3d0510d52a37dd1795bbe133d30 Mon Sep 17 00:00:00 2001 From: Rasool Saghaleyni Date: Tue, 1 Oct 2024 18:56:42 +0200 Subject: [PATCH] Update single cell lab --- session_ml/SingleCell/Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/session_ml/SingleCell/Dockerfile b/session_ml/SingleCell/Dockerfile index 35f18c1..3251914 100644 --- a/session_ml/SingleCell/Dockerfile +++ b/session_ml/SingleCell/Dockerfile @@ -72,10 +72,15 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends \ gnupg2 \ dirmngr \ + software-properties-common \ && mkdir -p /etc/apt/keyrings \ - && curl -fsSL https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40.key | gpg --dearmor -o /etc/apt/keyrings/r-project.gpg \ - && echo "deb [signed-by=/etc/apt/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | tee /etc/apt/sources.list.d/r-project.list \ - && apt-get update \ + && curl -fsSL https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40.key | gpg --dearmor -o /etc/apt/keyrings/r-project.gpg + +# Add the R 4.4.x repository for Jammy +RUN echo "deb [signed-by=/etc/apt/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | tee /etc/apt/sources.list.d/r-project.list + +# Update and install R +RUN apt-get update \ && apt-get install -y --no-install-recommends r-base \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \