mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-03-12 20:56:59 +00:00
Update Dockerfile-rocksdb
This commit is contained in:
parent
e727f9136b
commit
02facf3590
@ -43,6 +43,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
|
# Install necessary libraries
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y libsnappy1v5 libgflags2.2 zlib1g libbz2-1.0 curl jq \
|
&& apt-get install -y libsnappy1v5 libgflags2.2 zlib1g libbz2-1.0 curl jq \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
@ -54,4 +55,5 @@ RUN ldconfig
|
|||||||
# copy 0g-chain binary
|
# copy 0g-chain binary
|
||||||
COPY --from=chain-builder /go/bin/0gchaind /bin/0gchaind
|
COPY --from=chain-builder /go/bin/0gchaind /bin/0gchaind
|
||||||
|
|
||||||
|
# Command to run the binary
|
||||||
CMD ["0gchaind"]
|
CMD ["0gchaind"]
|
||||||
|
Loading…
Reference in New Issue
Block a user