From b5dfe234e816face1f1372d2b42c036de7430b01 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Fri, 15 Dec 2023 15:36:04 +0100 Subject: [PATCH 1/2] Add SUNSET --- sunset/Dockerfile | 11 +++++++++++ sunset/Dockerfile-r-yaml | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 sunset/Dockerfile create mode 100644 sunset/Dockerfile-r-yaml diff --git a/sunset/Dockerfile b/sunset/Dockerfile new file mode 100644 index 0000000..bfce21d --- /dev/null +++ b/sunset/Dockerfile @@ -0,0 +1,11 @@ +FROM mambaorg/micromamba:1.4.9 + +# Basic requirements +RUN micromamba install -y -n base -c conda-forge \ + git + +# Close SUNSET repository +RUN git clone -o origin --depth 1 https://earth.bsc.es/gitlab/es/sunset.git + +# Create mamba environment +RUN micromamba env create -f sunset/conda_installation/environment-sunset.yml diff --git a/sunset/Dockerfile-r-yaml b/sunset/Dockerfile-r-yaml new file mode 100644 index 0000000..80c5ca3 --- /dev/null +++ b/sunset/Dockerfile-r-yaml @@ -0,0 +1,7 @@ +FROM r-base:4.3.2 + +RUN install2.r --error \ + yaml + +CMD ["R"] + From 278eeb879c0365f74cebbee7ff256b5b7cdbc4a5 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Wed, 20 Dec 2023 16:18:22 +0100 Subject: [PATCH 2/2] Typo and update dockerfile for sunset --- sunset/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sunset/Dockerfile b/sunset/Dockerfile index bfce21d..5b2541a 100644 --- a/sunset/Dockerfile +++ b/sunset/Dockerfile @@ -1,11 +1,14 @@ FROM mambaorg/micromamba:1.4.9 +ARG MAMBA_DOCKERFILE_ACTIVATE=1 + # Basic requirements -RUN micromamba install -y -n base -c conda-forge \ - git +RUN micromamba install --yes --name base --channel conda-forge \ + git && \ + micromamba clean --all --yes -# Close SUNSET repository +# Clone SUNSET repository RUN git clone -o origin --depth 1 https://earth.bsc.es/gitlab/es/sunset.git # Create mamba environment -RUN micromamba env create -f sunset/conda_installation/environment-sunset.yml +RUN micromamba env create -f sunset/conda_installation/environment-sunset.yml