Glass for sure.
Yes it's true that lye can eventually etch glass. Silicon dioxide in glass reacts with sodium hydroxide to form sodium silicate. But this is not by any means a fast reaction, specially with good thick glass. And no need to worry about sodium silicate being in your final product because it is very polar, it will never move to the non-polar solvent.
Personally it has never happened to me to have glass breaking due to it, and I've been extracting for many years using glass only. When I hear about people having glass breaking when using lye to extract, i think it is mostly not due to lye etching glass but due to people adding lye too fast to water and not stirring, so as lye dissolves in water and releases heat, the fast change of temperature of the lye beads on the bottom of the container can make glass break. This is about temperature change, not a reaction with glass, and it can be easily prevented by adding lye slowly and stirring well.
I wouldn't store a very concentrated lye solution in cheap glass for months, but I have done it for a week or two with no noticeable effects. Better if you do your work within a week, and then discard the lye solution. Also working with A/B is better than STB in this sense because you won't need so much lye and therefore will risk less.
In any case, it is always recommended that you work over a sink or bathtub or large plastic container to prevent any dangerous spills if something breaks (which it shouldn't).
As for plastic, the problem is that phthalates or other substances like bisphenol A that are commonly used in plastic production (and have negative health effects) can leech into your final product since most are soluble in non-polar solvents. Please read the two threads linked here:
FAQ - DMT Frequently Asked Questions and Troubleshooting Guide - DMT-Nexus Wiki
And for those claiming it's 'ok' to use plastic just because you haven't seen a macroscopic change, let me remind you that your eyes are not precise analytic instruments, and you can still have plastic or plasticizers leech into your final product even if you don't see anything. If you insist on working with plastic, I strongly suggest you do both sodium carb washes to your solvent as well as a FASA + acetone wash step (and then conversion to freebase if wanted) to help removing possible traces of those plasticizers.