File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,22 +16,25 @@ RUN conda init bash
1616
1717
1818# Create conda environments
19+ # FIXME: replace chmod workaround for `tb-profiler update_tbdb` to write to
20+ # /nextstrain/miniforge/envs/tb-profiler/share/tbprofiler/
1921
2022RUN conda create -y --name snippy \
2123 -c conda-forge -c bioconda \
2224 sra-tools=3.2.1 \
2325 snippy=4.6.0 \
24- && conda clean -afy
26+ && conda clean -afy \
27+ && rm -rf ~/.cache \
28+ && chmod -R 777 /nextstrain/miniforge
29+
2530
26- # chmod allows `tb-profiler update_tbdb` to write to
27- # /nextstrain/miniforge/envs/tb-profiler/share/tbprofiler/
2831RUN conda create -y --name tb-profiler \
2932 -c conda-forge -c bioconda \
3033 sra-tools=3.2.1 \
3134 tb-profiler=6.6.3-0 \
3235 && conda clean -afy \
33- && chmod -R u+w /nextstrain/miniforge/envs/tb-profiler/share/
34-
36+ && rm -rf ~/.cache \
37+ && chmod -R 777 /nextstrain/miniforge
3538
3639# Switch back to root. The entrypoint will drop to nextstrain:nextstrain as
3740# necessary when a container starts.
You can’t perform that action at this time.
0 commit comments