clnrest: do not install dependencies from git url
This reverts [commit](cd1ec7216b), as an alternative fix has already been introduced in PR [#8547](https://github.com/ElementsProject/lightning/pull/8547) to restore reproducible builds.
This reversion is necessary because otherwise Docker image building will fail with GitHub Actions or via build-release.sh. The issue arises from Cargo’s inability to resolve the git URL dependencies for clnrest’s utoipa and utoipa-swagger-ui packages within these build contexts. While direct `docker buildx` commands succeeds, Github Action or build-release.sh modifies the build context in a way that prevents Cargo from locating the specific git commit for these dependencies.
References:
https://github.com/ElementsProject/lightning/pull/8530#issuecomment-3248713576
https://github.com/ElementsProject/lightning/actions/runs/17435823432
Added fixed SOURCE_DATE_EPOCH flag for reproducible ubuntu builds [8547](https://github.com/ElementsProject/lightning/pull/8547)
Changelog-None.
This commit is contained in:
committed by
Sangbida Chaudhuri
parent
5c93f12b08
commit
76592eafcb
@@ -26,12 +26,11 @@ rcgen = "0.13"
|
||||
hyper = "1"
|
||||
tower= "0.5"
|
||||
tower-http = { version = "0.6", features = ["cors", "set-header"] }
|
||||
utoipa = { git = "https://github.com/rustyrussell/utoipa.git", features = ['axum_extras'] }
|
||||
utoipa = { version = "5", features = ['axum_extras'] }
|
||||
|
||||
log-panics = "2"
|
||||
socketioxide = "0.15"
|
||||
|
||||
cln-plugin = { version = "0.5", path = "../../plugins" }
|
||||
cln-rpc = { version = "0.5", path = "../../cln-rpc" }
|
||||
utoipa-swagger-ui = { git = "https://github.com/rustyrussell/utoipa.git", features = ["vendored", "axum"] }
|
||||
|
||||
utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] }
|
||||
|
||||
Reference in New Issue
Block a user