Heavy-fermion superconductivity in Ce2PdIn8