From 03c37df80b9e3193fb6c1777d1a0c69e7cd367b7 Mon Sep 17 00:00:00 2001 From: Luca Delucchi Date: Tue, 19 Dec 2023 13:38:08 +0100 Subject: [PATCH] using bash as default shell --- sadasadam.dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sadasadam.dockerfile b/sadasadam.dockerfile index cfc506d..2e84585 100644 --- a/sadasadam.dockerfile +++ b/sadasadam.dockerfile @@ -13,13 +13,14 @@ LABEL description="This is a docker file to run sadasadam with last FORCE and GD ENV DEBIAN_FRONTEND=noninteractive # Refresh package list & upgrade existing packages -RUN apt-get -y update && apt-get -y upgrade && \ +RUN apt-get -y update && apt-get -y dist-upgrade && \ # Add PPA for Python 3.x and R 4.0 apt -y install software-properties-common dirmngr && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \ add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -sc)-cran40/" RUN apt-get -y install \ + bash \ wget \ unzip \ dos2unix \ @@ -51,6 +52,8 @@ RUN apt-get -y install \ r-base \ aria2 +RUN ln -sf /bin/bash /bin/sh + # gsutil for level1-csd, landsatlinks for level1-landsat (requires gdal/requests/tqdm) RUN pip3 install --no-cache-dir --upgrade pip && \ pip3 install --no-cache-dir \