Skip to content

Commit 51a3cb7

Browse files
committed
Use Python Docker image
1 parent edcc63b commit 51a3cb7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Dockerfile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
FROM rust:1.64.0-slim-bullseye
1+
FROM python:3.10-bullseye
2+
3+
# Install Rust
4+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
5+
ENV PATH="/root/.cargo/bin:${PATH}"
6+
RUN rustup toolchain install nightly
7+
8+
# Install poetry
9+
RUN pip install poetry
10+
ENV PATH="${PATH}:/{$HOME}/.local/bin"
11+
RUN poetry config virtualenvs.in-project true
12+
13+
# Install Solana Tool Suite
14+
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.11/install)"
215

316
ADD . /agent
417
WORKDIR /agent

0 commit comments

Comments
 (0)