Buckling of a long cylindrical shell containing an elastic core