Skip to content

Commit

Permalink
Ensures the current working directory won't be deleted
Browse files Browse the repository at this point in the history
As part of the cleanup procedure
  • Loading branch information
rosbo authored Apr 1, 2019
1 parent 1c3c3e6 commit 61de893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clean-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ rm -rf /root/.cache/pip/*
apt-get autoremove -y
# Delete downloaded archive files
apt-get clean
# Ensures the current working directory won't be deleted
cd /usr/local/src/
# Delete source files used for building binaries
rm -rf /usr/local/src/*
# Delete conda downloaded tarballs
Expand Down

0 comments on commit 61de893

Please sign in to comment.