I am trying to do as the linked answer, but inside a dockerfile.
I have conda installed in the docker in the path /miniconda/bin. Entering bash in the docker and doing conda gives bash: conda: command not found. In that bash, manually doing export PATH="/miniconda/bin:$PATH" makes it know conda.
I want that in the dockerfile.
Whatever I try, /miniconda/bin is not added to the PATH.
Things I tried:
RUN export PATH="/miniconda/bin:$PATH" - PATH is not affected.
in the entrypoint script: export PATH="/miniconda/bin":$PATH - PATH is not affected.
How to make the PATH know conda?