Skip to content

Commit

Permalink
fix Docker file to use venv. (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan authored Dec 2, 2023
1 parent 277628e commit 4175343
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ ADD . /workspace/dlio
WORKDIR /workspace/dlio

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y git vim sysstat mpich gcc-10 g++-10 libc6 libhwloc-dev python3.10 python3-pip

DEBIAN_FRONTEND=noninteractive apt-get install -y git vim sysstat mpich gcc-10 g++-10 libc6 libhwloc-dev python3.10 python3-pip python3-venv
RUN python3 -m pip install --upgrade pip
RUN pip install .[test,dlio-profiler]
RUN python3 -m venv /workspace/venv
ENV PATH="/workspace/venv/bin:$PATH"
RUN pip install -v .[test] > /workspace/install.log 2>&1



0 comments on commit 4175343

Please sign in to comment.