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}"