Remove some useless packages for the base image