Skip to content

Commit

Permalink
Add c2patool
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed Oct 17, 2023
1 parent 31b7948 commit ed86c71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ RUN npm install --prefix /app/go-tools/w3
# chown needed to make everything owned by one user for userspace podman execution
RUN chown -R root:root /app/go-tools/w3

FROM rust:1.73.0 as rust-build
RUN cargo install --version 0.6.2 c2patool

FROM ubuntu:22.04 AS catalyst

ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -71,6 +74,7 @@ RUN apt update && apt install -yqq \
&& rm -rf /var/lib/apt/lists/*

COPY --from=catalyst-build /opt/bin/ /usr/local/bin/
COPY --from=rust-build /usr/local/cargo/bin/c2patool /usr/local/bin/
COPY --from=node-build /app/go-tools/w3 /opt/local/lib/livepeer-w3
RUN ln -s /opt/local/lib/livepeer-w3/livepeer-w3.js /usr/local/bin/livepeer-w3 && \
npm install -g ipfs-car
Expand Down

0 comments on commit ed86c71

Please sign in to comment.