awesome-gitpod icon indicating copy to clipboard operation
awesome-gitpod copied to clipboard

[Template] - Requesting conda

Open MG-ng opened this issue 1 year ago • 0 comments
trafficstars

Would be nice to have a template for Anaconda… ChatGPT suggested the following for the .gitpod.yml, but I have no expertise on judging this:

tasks:
  - name: Install Miniconda
    command: |
      wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
      bash miniconda.sh -b -p $HOME/miniconda
      export PATH="$HOME/miniconda/bin:$PATH"
      echo "export PATH=\"$HOME/miniconda/bin:$PATH\"" >> $HOME/.bashrc
      rm miniconda.sh
      hash -r
      conda config --set always_yes yes --set changeps1 no
      conda update -q conda
    background: true

MG-ng avatar Dec 21 '23 20:12 MG-ng