Skip to content

Commit

Permalink
ldd in dist directory (not cargo specific)
Browse files Browse the repository at this point in the history
  • Loading branch information
meehow committed Oct 5, 2023
1 parent b1ea73b commit c77d9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN cargo test
RUN cargo build --release
RUN install -D target/release/bdk-reserves-web dist/bin/bdk-reserves-web
RUN ldd target/release/bdk-reserves-web | tr -s [:blank:] '\n' | grep ^/ | xargs -I % install -D % dist/%
RUN ldd dist/bin/bdk-reserves-web | tr -s [:blank:] '\n' | grep ^/ | xargs -I % install -D % dist/%
RUN ln -s ld-musl-x86_64.so.1 dist/lib/libc.musl-x86_64.so.1

RUN rustup component add clippy-preview \
Expand Down

0 comments on commit c77d9d6

Please sign in to comment.