I’m integrating globe_runtime in a production Docker environment
using a Dart AOT-compiled binary (dart compile exe).
The official documentation explains how to install the runtime locally
using:
globe runtime install
or by manually placing the shared library in:
~/.globe/runtime/
However, there is currently no documentation covering:
• How to properly integrate globe_runtime in Docker for CI/CD
• Best practices for multi-stage builds
• Where the shared library should be placed in containers
• Whether LD_LIBRARY_PATH is expected
• Required system dependencies (libstdc++, etc.)
• Whether distroless or Alpine is supported
For AOT-compiled Dart binaries using FFI, the runtime integration
appears to require:
- Installing globe runtime in a build stage
- Copying libglobe_runtime.so into a system library path
- Running ldconfig
- Ensuring system dependencies are installed
It would be extremely helpful if the documentation could include:
- An official Dockerfile example
- Recommended runtime image base (Debian? Ubuntu?)
- Confirmation of glibc vs musl compatibility
- List of required system libraries
This would significantly reduce friction for production deployments.
Thanks!