Closed yakutovicha closed 2 years ago
This is added to explicitly give the permission to the conda folder. I think I checked and test this and it works.
The aiida user must be able to create conda environments.
Ah, you mean create the conda environment. This I did not check. After I remove RUN touch /opt/conda/pkgs/urls.txt
without add chown ${SYSTEM_USER}:${SYSTEM_USER} ${CONDA_DIR}
there is an error message about https://github.com/conda/conda/issues/7267
The aiida user must be able to create conda environments.
Ah, you mean create the conda environment. This I did not check. After I remove
RUN touch /opt/conda/pkgs/urls.txt
without addchown ${SYSTEM_USER}:${SYSTEM_USER} ${CONDA_DIR}
there is an error message about conda/conda#7267
Sorry, I was wrong. I just tested the 0.5.0 version of the image. The aiida
user can create a new Conda environment. Sorry for the confusion.
The
aiida
user must be able to create conda environments.To my understanding, the bug was introduced in #38 by removing the following lines from the
Dockerfile
:@unkcpz do you remember the reason behind this removal? Just in case I am missing something.