Reduce image size cleaning up apt and avoid unnecessary updates

Reduces size by 37MB and shortens build times
It also cleans up /tmp