theres many different kinds of HDPE and PP, i have some really nice autoclavable PP chemical reagent bottles. i dont imagine there would be any issue with those. but re-using like, a shampoo bottle or something? thats sus. and yeah, glass is always best. when in doubt, save your pasta sauce jars. anything that was canned, i.e preserved specifically by heat not preservatives like acid in pickles, jars like that are very decently heat resistant. not, boil like its a beaker but, can probably microwave them, good. its not like you have to seriously chance it either you can put the jar in a ziplock bag for in case of a spill/break, ziplocks are usually PP and will contain a leak long enough for you to address it.
If investing in some GL45 heat resistant borosilicate bottles (safe for oven, autoclave/PC, microwave, sand bath, water bath, oil bath to a point, sometimes heating directly to induce boiling but not 100% sure if thats a standard maintained for all of them), not all of them are properly airtight. some are meant to be used with teflon washers, or, have the pouring lip removed to seal properly. to test it out, shake some iso, ethanol, or naptha in the bottle when closed and take note if it leaks. i have a few that leak methanol and acetone only, but water is fine. the pouring ring isnt flush with the glass though, all but one became reliable upon removing the pouring lip ring.
Also important note when buying Gl45, dont be afraid to search in lab supply website/stores. sometimes they are stupidly expensive, but other times they are stupidly cheap, way cheaper than even the fake unbranded soda-glass ones sold on amazon/china. you should be able to get 1L bottles for $12-15 or less from places that sell fancy mega-quality beakers for like $1/ml capacity, i got my high quality german branded ones for between $3-10 for 50-1000ml from a place that mostly sells ultra high end premium lab gear, that makes you question how an ordinary beaker made of borosilicate, could cost hundreds of dollars each, without any special properties just, somehow better quality.
Anyway, its truly random so, give it a shot. the high quality ones, especially if they are branded, are well worth it and will last a lifetime.