Skip to content

Commit d766c67

Browse files
committed
Added solana CLI to the dockerfile
1 parent e47f2f4 commit d766c67

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

images/solana-validator/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@ RUN mv /app/agave-$AGAVE_VERSION /app/agave
3232

3333

3434
WORKDIR /app/agave
35+
# Build validator
3536
RUN cargo build --bin solana-test-validator --release
3637
RUN cp target/release/solana-test-validator /app/bin/
3738

39+
# Build solana
40+
RUN cargo build --bin solana --release
41+
RUN cp target/release/solana /app/bin/
42+
43+
3844
# Final app image
3945
FROM base AS final
4046

@@ -43,4 +49,6 @@ RUN apt update && \
4349
rm -rf /var/lib/apt/lists/*
4450

4551
ADD solana_artifacts/ /programs/
52+
53+
4654
COPY --from=builder /app/bin/* /app/bin

0 commit comments

Comments
 (0)