From 6cb27343377014d14da9709081c7d1536398f2fa Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Mon, 16 Sep 2024 08:57:34 +0100 Subject: [PATCH 1/2] Install apptainer --- single-user/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/single-user/Dockerfile b/single-user/Dockerfile index 7f684a2..51a1524 100644 --- a/single-user/Dockerfile +++ b/single-user/Dockerfile @@ -62,6 +62,14 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +# apptainer +RUN add-apt-repository -y ppa:apptainer/ppa \ + && apt-get update \ + && apt-get install --no-install-recommends -y \ + apptainer \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + USER $NB_UID RUN mamba install -y --quiet \ From e388e899d0b8c037b4dc2c444b261688dfa86cdc Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Mon, 16 Sep 2024 09:47:08 +0100 Subject: [PATCH 2/2] Add ppa --- single-user/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/single-user/Dockerfile b/single-user/Dockerfile index 51a1524..a811ee6 100644 --- a/single-user/Dockerfile +++ b/single-user/Dockerfile @@ -63,7 +63,9 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # apptainer -RUN add-apt-repository -y ppa:apptainer/ppa \ +RUN apt-get update \ + && apt-get install -y software-properties-common \ + && add-apt-repository -y ppa:apptainer/ppa \ && apt-get update \ && apt-get install --no-install-recommends -y \ apptainer \