Docker-Runit/installers/999_cleanup.sh
2024-05-19 23:28:45 +02:00

18 lines
297 B
Bash
Executable file

#!/bin/bash
set -e
# shellcheck disable=SC1091
source /installers/config
cd /
apt-get remove -yqq \
perl
apt-get autoremove -y
apt-get clean
rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/var/cache/* \
/var/log/dpkg* \
/usr/share/doc \
/usr/share/doc-base \
/var/log/apt/term.log