I searched around a bit but found on information on this topic: every time code-server container updates, it removes everything I installed within it. Stuff from apt (cmake, build-essential, gdb...), as well as manually build libraries like openCV & protobuf which reside in /opt or /usr. Vscode extensions are preserved, but everything else is purged.
Am I using the container in ways not intended? Is there a way to avoid this (besides not updating)?