mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-23 23:05:17 +00:00
add docker support (#241)
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
This commit is contained in:
parent
1f4d56b645
commit
27366a5331
6
DockerfileStandard
Normal file
6
DockerfileStandard
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-standard.toml", "--log", "run/log_config"]
|
6
DockerfileTurbo
Normal file
6
DockerfileTurbo
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM rust
|
||||||
|
VOLUME ["/data"]
|
||||||
|
COPY . .
|
||||||
|
RUN apt-get update && apt-get install -y clang cmake build-essential pkg-config libssl-dev
|
||||||
|
RUN cargo build --release
|
||||||
|
CMD ["./target/release/zgs_node", "--config", "run/config-testnet-turbo.toml", "--log", "run/log_config"]
|
Loading…
Reference in New Issue
Block a user