Skip to content

Commit

Permalink
upgrade base image reduce Docker image size
Browse files Browse the repository at this point in the history
  • Loading branch information
Turgeon-Pelchat committed Sep 5, 2024
1 parent b28c8d7 commit 65016f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 65016f9

Please sign in to comment.