Skip to content

Commit

Permalink
Export agave binaries during docker build (BP solana-labs#627) (solan…
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu committed Aug 9, 2024
1 parent 93fa888 commit 1c7682b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN --mount=type=cache,mode=0777,target=/solana/target \
--mount=type=cache,mode=0777,target=/usr/local/cargo/registry \
--mount=type=cache,mode=0777,target=/usr/local/cargo/git \
if [ "$debug" = "false" ] ; then \
./cargo stable build --release && cp target/release/solana* ./docker-output; \
./cargo stable build --release && cp target/release/solana* ./docker-output && cp target/release/agave* ./docker-output; \
else \
RUSTFLAGS='-g -C force-frame-pointers=yes' ./cargo stable build --release && cp target/release/solana* ./docker-output; \
RUSTFLAGS='-g -C force-frame-pointers=yes' ./cargo stable build --release && cp target/release/solana* ./docker-output && cp target/release/agave* ./docker-output; \
fi

0 comments on commit 1c7682b

Please sign in to comment.