File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ ENV PATH="/nextstrain/miniforge/bin:$PATH"
1414# Initialize conda for interactive shell use
1515RUN conda init bash
1616
17+ # FIXME: is `umask 000` ok to use here?
18+ # This allows commands like `tb-profiler update_tbdb` to write to
19+ # /nextstrain/miniforge/envs/tb-profiler/share/tbprofiler/
20+
1721# Create conda environments
1822COPY --chown=nextstrain:nextstrain envs/snippy.yaml /tmp/
19- RUN conda env create --name snippy --file /tmp/snippy.yaml && rm /tmp/snippy.yaml
23+ RUN umask 000 && conda env create --name snippy --file /tmp/snippy.yaml && rm /tmp/snippy.yaml
2024
2125COPY --chown=nextstrain:nextstrain envs/tb-profiler.yaml /tmp/
22- RUN conda env create --name tb-profiler --file /tmp/tb-profiler.yaml && rm /tmp/tb-profiler.yaml
26+ RUN umask 000 && conda env create --name tb-profiler --file /tmp/tb-profiler.yaml && rm /tmp/tb-profiler.yaml
2327
2428# Switch back to root. The entrypoint will drop to nextstrain:nextstrain as
2529# necessary when a container starts.
You can’t perform that action at this time.
0 commit comments