Buckling of imperfect thin shell under pressure