Disassembler
182c9eb10b
- Make init.d scripts executable - Change shebang from bash to sh - Alpinize zz-cleanup.sh
14 lines
229 B
Bash
Executable File
14 lines
229 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Remove packages not necessary for release
|
|
apk del .useful
|
|
|
|
# Clean package cache
|
|
rm -rf /var/cache/apk/*
|
|
|
|
# Remove user settings
|
|
rm -rf /root/* /root/.*
|
|
|
|
# Remove git metadata
|
|
find / -name '.git*' -exec rm -rf {} \;
|