mirror of
https://github.com/CloudNebulaProject/barycenter.git
synced 2026-04-10 13:10:42 +00:00
fix: commit Cargo.lock for reproducible builds
Cargo.lock should be committed for applications (not libraries) to ensure reproducible builds across environments. This is required for Docker builds and is the recommended practice per Rust guidelines. Removed Cargo.lock from: - .gitignore - .dockerignore This fixes the Docker build error: ERROR: "/Cargo.lock": not found
This commit is contained in:
parent
bd42b06fff
commit
0ce360f004
3 changed files with 4402 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
# Rust
|
||||
target/
|
||||
Cargo.lock
|
||||
# Note: Cargo.lock is needed for reproducible builds
|
||||
|
||||
# Build artifacts
|
||||
*.db
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -4,7 +4,7 @@
|
|||
*.pdb
|
||||
|
||||
# Cargo
|
||||
Cargo.lock
|
||||
# Note: Cargo.lock should be committed for applications (not ignored)
|
||||
|
||||
# IDE and editor files
|
||||
.idea/
|
||||
|
|
|
|||
4400
Cargo.lock
generated
Normal file
4400
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue