#!/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 {} \;
