Docker-PHP/marshall/installers/999_cleanup.sh
Matthew Baggett 49c06822ee
Feature/rebuild for better caching (#3)
* Rebuilding for better caching

* Rebuilding for better caching. Squash this commit.

* Paths to dockerfiles changed.

* Rebuilding for better caching. Squash this commit.

* Rebuilding for better caching. Squash this commit.

* Refactoring

* Refactoring

* fixing the screaming about duplicates in apt sources.

* Vanity tagging

* Vanity tagging

* Try vanity again.

* re-enable all versions and variants
2021-05-29 22:54:10 +02:00

16 lines
No EOL
318 B
Bash
Executable file

#!/bin/bash
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