add Dockerfile (!31)
* working dockerfile * wip dockerfile TODO make duniter-polkadot-sdk repo lighter to avoid long download time in docker build (cherry picked from commit 5f4b716f) * update subxt and polkadot sdk
Showing
- .dockerignore 1 addition, 0 deletions.dockerignore
- Cargo.lock 514 additions, 442 deletionsCargo.lock
- Cargo.toml 11 additions, 11 deletionsCargo.toml
- Dockerfile 37 additions, 0 deletionsDockerfile
- docker/README.md 42 additions, 0 deletionsdocker/README.md
- docker/build.sh 15 additions, 0 deletionsdocker/build.sh
- src/commands/cesium.rs 2 additions, 2 deletionssrc/commands/cesium.rs
- src/commands/collective.rs 3 additions, 3 deletionssrc/commands/collective.rs
- src/commands/expire.rs 6 additions, 6 deletionssrc/commands/expire.rs
- src/commands/identity.rs 2 additions, 2 deletionssrc/commands/identity.rs
- src/commands/net_test.rs 2 additions, 3 deletionssrc/commands/net_test.rs
- src/utils.rs 4 additions, 6 deletionssrc/utils.rs
.dockerignore
0 → 100644
This diff is collapsed.
... | ... | @@ -13,37 +13,37 @@ version = "0.2.10" |
[dependencies] | ||
# subxt is main dependency | ||
subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.34.0-duniter-substrate-v1.6.0', default-features = false, features = [ | ||
subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.35.3-duniter-substrate-v1.11.0', default-features = false, features = [ | ||
"substrate-compat", | ||
"native", | ||
"jsonrpsee", | ||
] } | ||
# substrate primitives dependencies | ||
sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | ||
sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | ||
sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.11.0" } | ||
sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.11.0" } | ||
# crates.io dependencies | ||
anyhow = "^1.0" | ||
clap = { version = "^4.5.0", features = ["derive"] } | ||
codec = { package = "parity-scale-codec", version = "^3.6.9" } | ||
clap = { version = "^4.5.4", features = ["derive"] } | ||
codec = { package = "parity-scale-codec", version = "^3.6.12" } | ||
env_logger = "^0.10" | ||
futures = "^0.3.30" | ||
graphql_client = { version = "^0.13.0", features = ["reqwest-rustls"] } | ||
hex = "^0.4.3" | ||
log = "^0.4.20" | ||
reqwest = { version = "^0.11.24", default-features = false, features = [ | ||
log = "^0.4.21" | ||
reqwest = { version = "^0.11.27", default-features = false, features = [ | ||
"rustls-tls", | ||
] } | ||
rpassword = "^7.3.1" | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde_json = "^1.0.113" | ||
tokio = { version = "^1.36.0", features = ["macros"] } | ||
serde_json = "^1.0.117" | ||
tokio = { version = "^1.37.0", features = ["macros"] } | ||
confy = "^0.5.1" | ||
bs58 = "^0.5.0" | ||
bs58 = "^0.5.1" | ||
inquire = "^0.6.2" | ||
directories = "^5.0.1" | ||
comfy-table = "^7.1.0" | ||
comfy-table = "^7.1.1" | ||
# crypto | ||
scrypt = { version = "^0.11", default-features = false } # for old-style key generation | ||
... | ... |
Dockerfile
0 → 100644
docker/README.md
0 → 100644
docker/build.sh
0 → 100755
Please register or sign in to comment