Skip to content

Commit 6ecd84d

Browse files
committed
🚧 chmod instead of rm for cache
1 parent abc8ca9 commit 6ecd84d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN conda create -y --name snippy \
2424
sra-tools=3.2.1 \
2525
snippy=4.6.0 \
2626
&& conda clean -afy \
27-
&& rm -rf ~/.cache \
27+
&& chmod -R 777 /nextstrain/.cache \
2828
&& chmod -R 777 /nextstrain/miniforge
2929

3030

@@ -33,7 +33,7 @@ RUN conda create -y --name tb-profiler \
3333
sra-tools=3.2.1 \
3434
tb-profiler=6.6.3-0 \
3535
&& conda clean -afy \
36-
&& rm -rf ~/.cache \
36+
&& chmod -R 777 /nextstrain/.cache \
3737
&& chmod -R 777 /nextstrain/miniforge
3838

3939
# Switch back to root. The entrypoint will drop to nextstrain:nextstrain as

0 commit comments

Comments
 (0)