Skip to content

Commit e0bf542

Browse files
chore(ci): install pip deps in base dockerfile
Signed-off-by: Dori Medini <dori@starkware.co>
1 parent 911f06c commit e0bf542

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deployments/images/base/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ FROM ubuntu:24.04 AS base
88

99
COPY scripts/install_build_tools.sh .
1010
COPY scripts/dependencies.sh .
11+
COPY scripts/requirements.txt .
1112
COPY rust-toolchain.toml .
1213

1314
RUN apt update && apt -y install \
1415
bzip2 \
1516
curl \
17+
python3.9 \
1618
tini \
1719
unzip
1820

@@ -23,6 +25,7 @@ ENV PATH=$PATH:${RUSTUP_HOME}/bin
2325
RUN ./install_build_tools.sh
2426
RUN rustup toolchain install
2527
RUN cargo install cargo-chef
28+
RUN pip install -r ./requirements.txt
2629

2730
# Cleanup.
28-
RUN rm -f install_build_tools.sh dependencies.sh
31+
RUN rm -f install_build_tools.sh dependencies.sh requirements.txt

0 commit comments

Comments
 (0)