You may be interested in our docker Debian stack:
https://github.com/google/or-tools/tree/stable/cmake/docker/debianFrom top of my head, my may concern would be (here, number are just for better communication):
1. We should generate it using the CMake based build
2. Need to add rpm/deb stuff using CMake package module or doing it externally ?
3. Update CMake to prefix option with `ORTOOLS_` (breaking CMake change so I want to push it asap)
4. Verify our CMake install rules are clean (docker C++ should already test it but need to double check)
5. Need a recent CMake >= 3.14 (mainly for using the new built-in swig module)
6. We should only provide a package with the C++ libraries (i.e. disable Python, Java, .Net wrappers)
7. Need to disable SCIP to follow the "
Debian Free Software Guidelines" (currently no CI to check it works)
(note: gurobi is a runtime optional deps so no problem here)
9. Have an abseil-cpp C++17 package available since OR-Tools target C++17 (note we are using few structured binding).
10. Check OR-Tools build against Debian system wide dependencies package (gcc?, zlib, protobuf, coin-or, abseil-cpp)
Point 9 is a big challenge, I never see any distro package manager having some packages whose library consumption break if you don't use the same C++ language dialect in your dependent project.
In homebrew-core (OSS package manager for Apple) since there were only 3 projects depending on abseil-cpp, I manage to push everyone to use C++17 thus I was able to submit/integrate or-tools to this ecosystem...