From 2d1406678d8f7ceaf588032baf003378f8786f47 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Thu, 9 Jan 2025 13:48:07 +0100 Subject: [PATCH] add skipped dockerfile --- integration-tests/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 integration-tests/Dockerfile diff --git a/integration-tests/Dockerfile b/integration-tests/Dockerfile new file mode 100644 index 0000000..d674e64 --- /dev/null +++ b/integration-tests/Dockerfile @@ -0,0 +1,21 @@ +FROM python:3.10-slim-bullseye + +# Install Rust +RUN apt update && apt install -y curl pkg-config libssl-dev build-essential +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" +RUN rustup toolchain install nightly + +# Install poetry +RUN pip install poetry +ENV PATH="${PATH}:/root/.local/bin" +RUN poetry config virtualenvs.in-project true + +# Install Solana Tool Suite +RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.17/install)" +ENV PATH="${PATH}:/root/.local/share/solana/install/active_release/bin" + +ADD . /agent +WORKDIR /agent + +RUN cargo build --release