2017-12-19 19:22:36 +01:00
|
|
|
#!/bin/sh
|
2018-07-15 21:55:35 +02:00
|
|
|
set -e
|
2017-06-30 18:25:20 +02:00
|
|
|
|
|
|
|
# Remove packages not necessary for release
|
2018-01-29 16:47:27 +01:00
|
|
|
apk --no-cache del .useful
|
2017-06-30 18:25:20 +02:00
|
|
|
|
|
|
|
# Clean package cache
|
2017-12-19 19:22:36 +01:00
|
|
|
rm -rf /var/cache/apk/*
|
2017-08-31 21:54:13 +02:00
|
|
|
|
|
|
|
# Remove user settings
|
|
|
|
rm -rf /root/* /root/.*
|