Skip to content

Commit

Permalink
[DOCKER] Copy repo to temp for pip installations
Browse files Browse the repository at this point in the history
  • Loading branch information
Viviane Potocnik committed Aug 8, 2024
1 parent 074a2ac commit 752785d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions util/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,9 @@ 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 python-requirements.txt /tmp/python-requirements.txt
COPY docs/requirements.txt /tmp/docs/requirements.txt
COPY sw/dnn/requirements.txt /tmp/sw/dnn/requirements.txt
RUN pip install -r /tmp/python-requirements.txt
RUN pip install -e .
COPY . /tmp/snitch_cluster
RUN pip install -r /tmp/snitch_cluster/python-requirements.txt
RUN pip install /tmp/snitch_cluster/

# Add Verilator to PATH
ENV PATH "/tools/verilator/bin:${PATH}"
Expand Down

0 comments on commit 752785d

Please sign in to comment.