To never add the channel to the conda channels, but instead specify it when used.
It has not been verified whether this is indeed enough, or whether conda keeps the channel information around anyway.
More notes:
The Dockerfile currently simply installs all the packages instead of just downloading them because
It still takes quite a while to install everything even if the packages are already downloaded.
Just downloading them would require adding the channel to conda at some point, because conda cannot find the downloaded packages if it doesn't have access to the channel.
It is useful for speed reasons to create a docker image that has all relevant conda packages already fetched so they can be installed quickly.
Packages can be downloaded without being installed with the
--download-only
flag: https://stackoverflow.com/questions/32956583/how-do-i-download-anaconda-packages-without-installing-them