due to the new licensing policy for conda, we have to use mamba as alternative. I am in the process of migrating my docker files but have issues getting micromamba properly installed. The base docker is as follows
ARG CUDA=11.1.1
FROM nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu18.04
ARG CUDA
Then I install all curl etc via apt-get. Installation of micromamba is done via
RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
RUN export MAMBA_ROOT_PREFIX=./micromamba # optional, defaults to ~/micromamba
RUN eval "$(./bin/micromamba shell hook -s posix)"
RUN micromamba activate
during the build I get the following errors;
RUN micromamba activate
---> Running in ccee400f407d
'micromamba' is running as a subprocess and can't modify the parent shell.
Thus you must initialize your shell before using activate and deactivate.
To initialize the current shell, run:
$ eval "$(micromamba shell hook --shell=)"
and then activate or deactivate with:
$ micromamba activate
To automatically initialize all future () shells, run:
$ micromamba shell init --shell= --prefix=~/micromamba
Supported shells are {bash, zsh, csh, xonsh, cmd.exe, powershell, fish}.
Any advice?