Refactor tags to use APT where possible and to emulate it where it's not for better support from upstream and for a much simpler CMD (bare "mysqld")