12 lines
184 B
Bash
Executable File
12 lines
184 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Remove packages not necessary for release
|
|
apk --no-cache del .useful
|
|
|
|
# Clean package cache
|
|
rm -rf /var/cache/apk/*
|
|
|
|
# Remove user settings
|
|
rm -rf /root/* /root/.*
|