From 1835adb0f89b309f0ee2ed5f9902c22f3b5bd193 Mon Sep 17 00:00:00 2001 From: Thomas Li Date: Thu, 7 Dec 2023 23:46:28 +0000 Subject: [PATCH] simplify greatly --- gitpod/gitpod.Dockerfile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/gitpod/gitpod.Dockerfile b/gitpod/gitpod.Dockerfile index e253b75a4fe0f..6132f7514908e 100644 --- a/gitpod/gitpod.Dockerfile +++ b/gitpod/gitpod.Dockerfile @@ -1,24 +1,4 @@ -FROM gitpod/workspace-base:2023-11-24-15-04-57 - -USER root -# Install base utilities -RUN apt-get update \ - && apt-get install -y build-essential \ - && apt-get install -y wget \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - -# ----------------------------------------------------------------------------- -# Always return to non privileged user -USER gitpod - -# Install miniconda -ENV CONDA_DIR /opt/conda -RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \ - /bin/bash ~/miniconda.sh -b -p /opt/conda - -# Put conda in path so we can use conda activate -ENV PATH=$CONDA_DIR/bin:$PATH +FROM condaforge/miniforge3:23.3.1-1 # Init conda and use the speedy libmamba solver RUN conda init && conda install -n base conda-libmamba-solver && conda config --set solver libmamba @@ -26,8 +6,3 @@ RUN conda init && conda install -n base conda-libmamba-solver && conda config -- # Install dependencies RUN conda env update --file https://raw.githubusercontent.com/pandas-dev/pandas/main/environment.yml --prune -#RUN chown -R gitpod:gitpod /opt/conda/pkgs -#RUN chown -R gitpod:gitpod /opt/conda/envs -#RUN chown -R gitpod:gitpod /home/gitpod/.conda -#RUN chown -R gitpod:gitpod /home/gitpod/.cache -