Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions neurodocker/interfaces/tests/test_miniconda.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_docker(self):
'instructions': [
('base', 'centos:7'),
('user', 'neuro'),
('workdir', '/home/neuro'),
(
'miniconda',
{
Expand Down Expand Up @@ -40,6 +41,7 @@ def test_singularity(self):
'instructions': [
('base', 'docker://debian:stretch-slim'),
('user', 'neuro'),
('workdir', '/home/neuro'),
(
'miniconda',
{
Expand Down
8 changes: 4 additions & 4 deletions neurodocker/templates/miniconda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ generic:
conda install -y {{ miniconda.conda_opts|default("-q") }} --name {{ miniconda.env_name }} \
{%- for pkg in miniconda.conda_install %}
{% if not loop.last -%}
'{{ pkg }}' \
"{{ pkg }}" \
{%- else -%}
'{{ pkg }}'
"{{ pkg }}"
{%- endif -%}
{% endfor %}
sync && conda clean --all && sync
Expand All @@ -47,9 +47,9 @@ generic:
pip install --no-cache-dir {{ miniconda.pip_opts }} \
{%- for pkg in miniconda.pip_install %}
{% if not loop.last -%}
'{{ pkg }}' \
"{{ pkg }}" \
{%- else -%}
'{{ pkg }}'
"{{ pkg }}"
{%- endif -%}
{% endfor %}"
rm -rf ~/.cache/pip/*
Expand Down