Skip to content

Commit

Permalink
Conda -> mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Mar 19, 2024
1 parent a374b4c commit e4d8da4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .docker/cp2k-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ filepath_executable: /opt/conda/envs/cp2k/bin/cp2k.psmp
append_text:
prepend_text: |
eval "$(command conda shell.bash hook 2> /dev/null)"
conda activate cp2k
mamba activate cp2k
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN set -ex ; \

USER aiida

RUN conda create --yes -c conda-forge -n cp2k cp2k=9.1 && conda clean --all -f -y
RUN mamba create --yes -c conda-forge -n cp2k cp2k=9.1 && mamba clean --all -f -y

# Install aiida-cp2k plugin.
COPY --chown="${SYSTEM_UID}:${SYSTEM_GID}" . /home/aiida/aiida-cp2k
Expand Down
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def cp2k_code(aiida_local_code_factory):
return aiida_local_code_factory(
entry_point="cp2k",
executable="/opt/conda/envs/cp2k/bin/cp2k.psmp",
prepend_text='eval "$(command conda shell.bash hook 2> /dev/null)"\nconda activate cp2k\n',
prepend_text='eval "$(command conda shell.bash hook 2> /dev/null)"\nmamba activate cp2k\n',
)


Expand Down

0 comments on commit e4d8da4

Please sign in to comment.