BLOG-90 Fix backend docker build error #123
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLOG-122_fix_backend_build_error"
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?
Description
alpine
for build environment.https://g.co/gemini/share/ad84493a13dd
Package Changes
No response
Screenshots
No response
Reference
Resolves #122.
Checklist
/improve
PR Code Suggestions ✨
Remove unnecessary OpenSSL dependencies
Verify if your Rust application truly requires OpenSSL. If it uses a pure Rust TLS
implementation like
rustls
, theopenssl-dev
andopenssl-libs-static
packages areunnecessary. Removing them can reduce build time and potentially the final binary
size.
backend/Dockerfile [2]
Suggestion importance[1-10]: 7
__
Why: The suggestion correctly identifies a potential optimization by removing unnecessary
openssl
dependencies, which can reduce image size and build time. It's a valid point to verify if the Rust application truly requires OpenSSL.BLOG-90 fix: update Dockerfile to use alpine base and simplify build processto BLOG-90 Fix backend docker build errorYes, these openssl related packages are required.