feat: add environments in global bashrc file (#2486)

This commit is contained in:
Shimada666 2024-06-18 10:36:35 +08:00 committed by GitHub
parent e001c6a9b8
commit e4d78153fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,6 +36,7 @@ RUN wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mini
RUN bash Miniforge3-$(uname)-$(uname -m).sh -b -p /opendevin/miniforge3
RUN bash -c ". /opendevin/miniforge3/etc/profile.d/conda.sh && conda config --set changeps1 False && conda config --append channels conda-forge"
RUN echo "export PATH=/opendevin/miniforge3/bin:$PATH" >> ~/.bashrc
RUN echo "export PATH=/opendevin/miniforge3/bin:$PATH" >> /opendevin/bash.bashrc
# - agentskills dependencies
RUN /opendevin/miniforge3/bin/pip install --upgrade pip