We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7ea44 commit 1d5dcb3Copy full SHA for 1d5dcb3
.github/common/resources/layer-cleanup.sh
@@ -15,9 +15,9 @@
15
16
apt-get autoclean --yes
17
apt-get autoremove --yes
18
+pip cache purge
19
20
rm -rf /var/lib/apt/lists/*
-rm -rf /etc/apt/sources.list.d/*
21
rm -rf /usr/local/src/*
22
23
rm -rf /var/cache/apt/*
@@ -29,4 +29,11 @@ rm -rf /usr/local/share/.cache/*
29
rm -rf /tmp/* /var/tmp/*
30
rm -rf /opt/conda/pkgs/cache
31
32
+rm -rf /tmp/whl
33
+
34
+# WARNING: this removes the apt repository list. To restore it and be able to run 'apt update',
35
+# you must run (works only in Debian):
36
+# . /etc/os-release && echo "deb http://deb.debian.org/debian $VERSION_CODENAME main" > /etc/apt/sources.list
37
+rm -rf /etc/apt/sources.list.d/*
38
39
exit 0
0 commit comments