From 2954d54ef8652c7658d1659bef6aafdf1911e995 Mon Sep 17 00:00:00 2001 From: Lars Buntemeyer Date: Mon, 18 Mar 2024 23:12:34 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8b13789..0c1a1b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,30 @@ +FROM ubuntu:22.04 +ENV PATH="/root/miniconda3/bin:${PATH}" +ARG PATH="/root/miniconda3/bin:${PATH}" +LABEL maintainer="lars.buntemeyer@hereon.de" + +RUN apt-get update +RUN apt-get install -y software-properties-common +RUN apt-add-repository -y universe +RUN apt-get update + +RUN apt-get -y install vim git +RUN apt-get -y install wget + +WORKDIR /cordex-aws/ + +RUN wget \ + https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ + && mkdir /root/.conda \ + && bash Miniconda3-latest-Linux-x86_64.sh -b \ + && rm -f Miniconda3-latest-Linux-x86_64.sh +RUN conda --version +RUN conda config --add channels conda-forge +RUN conda config --set channel_priority strict + +RUN conda create -n cordex-aws python=3.10 dynamic-chunks==0.0.2 \ + pangeo-forge-cordex==0.3.4 pangeo-forge-recipes==0.10.5 \ + aiohttp requests fsspec s3fs zarr boto3 + +RUN conda activate cordex-aws