Skip to content

Commit a5a6bb8

Browse files
author
Bryan Latten
committed
Merge pull request #49 from bryanlatten/slim
Clean: adding many more things to be removed
2 parents d6bb3f5 + fa645b3 commit a5a6bb8

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

container/root/clean.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
#!/bin/bash
2+
# IMPORTANT: This script has to be called *manually* by a child implementing this repo as a parent
3+
4+
# apt-mark showauto for any additional packages that can be cleaned up
25

36
# Perform cleanup, ensure unnecessary packages are removed
47
apt-get remove --purge -yq \
58
wget \
69
php5-dev \
7-
gcc && \
10+
gcc \
11+
libgcc-4.8-dev \
12+
cpp-4.8 \
13+
dpkg-dev \
14+
manpages \
15+
manpages-dev \
16+
man-db \
17+
libpcre3-dev \
18+
patch \
19+
make \
20+
unattended-upgrades \
21+
software-properties-common \
22+
&& \
823
apt-get autoclean -y && \
924
apt-get autoremove -y && \
1025
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \

0 commit comments

Comments
 (0)