i am working in an air gapped environment, using an artifactory mirror as my source for packages. i have recently updated miniconda to the latest version (having previously been on 24.7.1) and found that my docker image now breaks!
previously, we would explicitly drop the ‘defaults’ channel after adding our new mirror like so:
RUN conda config --prepend channels MIRRORCHANNEL
RUN conda config --remove channels defaults
however since the update, defaults no longer exists so this breaks. on paper the fix is easy enough - we simply drop the ‘remove channels’ command. in practice however, miniconda is now including two channels as default into our config which i dont seem to be able to delete via ‘remove channels’ - namely ‘anaconda/pkgs/main’ and ‘anaconda/pkgs/r’. how can i remove these channels from my miniconda installation? it is important to note that this issue will exist for all customers running miniconda on private endpoint networks in azure for instance.
within the company, conda offerings are paid for via azure: Anaconda licensing - Azure Machine Learning | Microsoft Learn