In our use case we build an C++ executable and link it with shared libraries on ubuntu 22.04
but with gcc-13
.
It has to be delivered to Linux Mint 20.1 with an older libstd++
installed.
So we need to install all the required runtime libraries too with our executable.
This project is based setup-cpp inside a docker build.
See too Docker Instructions and Dockerfile.