fix: Docker build failures for service installation #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/docker-build-failures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Critical Review Comments
libseccomp-devandlibcap-ng-devin the builder stage is correct for compilation. However, please verify if these are required as runtime dependencies in the final image stage. If the binaries are dynamically linked, the app will fail to start without the runtime libs.sh -cforbuild.cmdadds flexibility but introduces shell-injection risks if service configs are ever pulled from external/untrusted sources. Consider if we can execute the binary directly without a shell wrapper.CARGO_TARGET_DIRdisables global build caching. This will significantly slow down builds in environments where multiple services are built sequentially. Can we resolve the path issue instead of removing the env var?binaryfield is a good stop-gap, but we should eventually aim for a "convention over configuration" approach where the crate name always matches the service name.Good points @thabeta
If the binaries are dynamically linked, the app will fail to start without the runtime libs.Should we aim for statically linked throughout?
Pull request closed