From 65016f9e19a572bdc3dd415a0f98e4032db93d0b Mon Sep 17 00:00:00 2001 From: Turgeon-Pelchat Date: Thu, 5 Sep 2024 16:11:45 -0400 Subject: [PATCH] upgrade base image reduce Docker image size --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d52a78e0..3967585e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,11 @@ ARG USERID=1000 # ARG GIT_TAG=geo-inference ENV PATH=$CONDA_DIR/bin:$PATH # RNCAN certificate; uncomment (with right .cer name) if you are building behind a FW -COPY NRCan-RootCA.cer /usr/local/share/ca-certificates/cert.crt -RUN chmod 644 /usr/local/share/ca-certificates/cert.crt \ - && update-ca-certificates \ - && apt-get update \ +# COPY NRCan-RootCA.cer /usr/local/share/ca-certificates/cert.crt +# RUN chmod 644 /usr/local/share/ca-certificates/cert.crt \ +# && update-ca-certificates + +RUN apt-get update \ && apt-get install -y --no-install-recommends git wget unzip bzip2 build-essential sudo \ && wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -O /tmp/mamba.sh \ && /bin/bash /tmp/mamba.sh -b -p $CONDA_DIR \