Commit Graph
7 Commits
Author SHA1 Message Date
jensandClaude Sonnet 5 b07ac70125 Fix build and cut image size via multi-stage rewrite (2.45GB -> 1.27GB)
Two unrelated pre-existing compile failures surfaced on a fresh build
(both from unpinned `ADD <git-url>` sources drifting against current
Debian's GCC/Boost):

- Debian's libboost-all-dev is missing #include <utility> in
  awaitable.hpp, which current GCC/libstdc++ no longer pulls in
  transitively, breaking UHD's C++20-coroutine-mode rpclib build with
  "'exchange' is not a member of 'std'". Patched the header directly.
- SoapyUHD pins itself to C++14 and is missing a lexical_cast include in
  two files; current UHD's public headers need C++17 (std::optional).
  Bumped SoapyUHD's CMAKE_CXX_STANDARD to 17 and added the missing
  #include <boost/lexical_cast.hpp> in both files.

Also split the single-stage Dockerfile (which kept the entire build
toolchain - build-essential, cmake, doxygen, libboost-all-dev,
python3-dev/numpy/scipy, plus every /tmp/sources/* source and build tree -
in the final image) into a builder stage and a minimal final stage that
only installs real runtime packages (derived via `ldd` on every compiled
binary/module, not guessed) and COPYs over the compiled artifacts.

Verified: SSH, sdrplay_apiService, and all three SoapySDR modules
(remote/sdrplay/uhd) load correctly; signal handling still exits 143 on
docker stop.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NiNnj78HGx1KWyCCo39HSz
2026-07-28 12:48:10 +02:00
jens c980b6f4a7 commit stale changes 2026-07-26 21:26:54 +02:00
jens 157c3dfc54 [SoapyRemote]
- build with AVAHI support
2024-08-23 15:11:43 +02:00
jens 22358847f7 added SDRplay 2024-08-20 08:15:45 +02:00
jens c81c0ab32b build UHD and Soapy from sources 2024-08-19 17:30:08 +02:00
jens 7ae52495ec - removed novnc
- added ssh server
2024-08-19 14:38:04 +02:00
jens eaa56dfef1 Initial commit 2024-08-18 18:11:02 +02:00