From ca2bf6f4df389b5ed49e48c99f5ad4e0ae175dbe Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Fri, 30 Aug 2024 07:54:33 +0200 Subject: [PATCH] container: Only install dependencies --- util/container/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/container/Dockerfile b/util/container/Dockerfile index 230774b04..11bfd4ac7 100644 --- a/util/container/Dockerfile +++ b/util/container/Dockerfile @@ -162,8 +162,10 @@ ENV VIRTUAL_ENV "/root/.venvs/snitch_cluster" RUN /opt/python/bin/python3 -m venv ${VIRTUAL_ENV} ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" # Install Python requirements -COPY pyproject.toml . -RUN pip install .[docs] +COPY pyproject.toml /tmp/pyproject.toml +RUN pip install pip-tools +RUN pip-compile --extra docs -o /tmp/requirements.txt /tmp/pyproject.toml +RUN pip install -r /tmp/requirements.txt # Add Verilator to PATH ENV PATH "/tools/verilator/bin:${PATH}"