Skip to content

Commit

Permalink
Install lz4 in Docker image
Browse files Browse the repository at this point in the history
Install lz4 in Docker image to support lz4 snapshots.
  • Loading branch information
julianrubino authored Nov 7, 2024
1 parent b8096da commit 13bea6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM debian:bookworm AS base
ENV PATH=/root/.zetacored/cosmovisor/current/bin/:${PATH}

RUN apt update && \
apt install -y ca-certificates curl jq && \
apt install -y ca-certificates curl jq lz4 && \
rm -rf /var/lib/apt/lists/*

COPY --from=base-build /go/bin/cosmovisor /go/bin/go-getter /go/bin/dl-pipe /usr/local/bin
Expand All @@ -28,4 +28,4 @@ RUN apt update && \

RUN ARCH=$( [ "$TARGETARCH" = "amd64" ] && echo "x86_64" || echo "$TARGETARCH" ) && \
curl -L https://github.com/zeta-chain/cosmprund/releases/download/v0.2.0-zeta/cosmprund_Linux_${ARCH}.tar.gz | tar xz -C /usr/local/bin/ cosmprund &&\
chmod +x /usr/local/bin/cosmprund
chmod +x /usr/local/bin/cosmprund

0 comments on commit 13bea6f

Please sign in to comment.