tethysplatform / tethys

The Tethys Platform main Django website project repository.
http://tethysplatform.org/
BSD 2-Clause "Simplified" License
92 stars 49 forks source link

[FEATURE] Add conda alias for micromamba in Docker image #933

Closed swainn closed 1 year ago

swainn commented 1 year ago

Is your feature request related to a problem? Please describe. When building Dockerfiles derived from the Tethys Docker image, developers run into issues running conda commands. This is because the new version of the Tethys Docker image is built with micromamba, which has some fundamental differences. For example there is no base environment and the command is micromamba instead of conda.

Describe the solution you'd like The micromamba command has the same API as the conda command, so I recommend we add a conda alias to the micromamba command to help alleviate some of these issues. We could also add something like a CONDA_EXE environment variable.

Describe alternatives you've considered N/A

Additional context N/A