Skip to content

Commit

Permalink
container: Copy necessary sources
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Aug 30, 2024
1 parent ebf36c5 commit 5261493
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions util/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,11 @@ 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 /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
COPY pyproject.toml .
COPY sw/dnn ./sw/dnn
COPY sw/blas ./sw/blas
COPY util ./util
RUN pip install -e .

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

Check warning on line 167 in util/container/Dockerfile

View workflow job for this annotation

GitHub Actions / Deploy Docker image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Expand Down

0 comments on commit 5261493

Please sign in to comment.