Skip to content

Commit

Permalink
container: Only install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Aug 30, 2024
1 parent 1a3e2f3 commit ca2bf6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions util/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit ca2bf6f

Please sign in to comment.