We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6bb3f5 + fa645b3 commit a5a6bb8Copy full SHA for a5a6bb8
container/root/clean.sh
@@ -1,10 +1,25 @@
1
#!/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
5
6
# Perform cleanup, ensure unnecessary packages are removed
7
apt-get remove --purge -yq \
8
wget \
9
php5-dev \
- 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
+ && \
23
apt-get autoclean -y && \
24
apt-get autoremove -y && \
25
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
0 commit comments