Skip to content

Commit 61de893

Browse files
authored
Ensures the current working directory won't be deleted
As part of the cleanup procedure
1 parent 1c3c3e6 commit 61de893

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clean-layer.sh

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ rm -rf /root/.cache/pip/*
1616
apt-get autoremove -y
1717
# Delete downloaded archive files
1818
apt-get clean
19+
# Ensures the current working directory won't be deleted
20+
cd /usr/local/src/
1921
# Delete source files used for building binaries
2022
rm -rf /usr/local/src/*
2123
# Delete conda downloaded tarballs

0 commit comments

Comments
 (0)