Update Dockerfile-rocksdb

This commit is contained in:
GentlemenValidators 2024-05-14 00:56:28 +03:00 committed by GitHub
parent e727f9136b
commit 02facf3590
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]