Skip to content

Commit

Permalink
Update Dockerfile to remove clean command
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-l-p authored Dec 6, 2023
1 parent 5cc72d7 commit 5a92f77
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,10 @@ ADD / /sharpy_dir/
# Cleanup mamba installation
RUN mamba init bash
RUN mamba config --set always_yes yes --set changeps1 no
#RUN mamba update -q conda
RUN mamba update --all
RUN mamba update -q conda
RUN mamba config --set auto_activate_base false
#RUN mamba env create -f /sharpy_dir/utils/environment.yml && mamba clean -afy && \
# find /mamba/ -follow -type f -name '*.a' -delete && \
# find /mamba/ -follow -type f -name '*.pyc' -delete && \
# find /mamba/ -follow -type f -name '*.js.map' -delete
RUN mamba env create -f /sharpy_dir/utils/environment.yml
RUN mamba clean -afy
#RUN mamba clean -afy
RUN find /mamba/ -follow -type f -name '*.a' -delete
RUN find /mamba/ -follow -type f -name '*.pyc' -delete
RUN find /mamba/ -follow -type f -name '*.js.map' -delete
Expand Down

0 comments on commit 5a92f77

Please sign in to comment.