Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merged PR 1569: fix docker file
Browse files Browse the repository at this point in the history
The "activate py36" needs to be "conda activate py36".  Also install pyaudio so audio tutorials work out of the box.
  • Loading branch information
lovettchris committed May 13, 2020
1 parent a97b07f commit 74fb22c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tools/docker/ell.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@
FROM ell-dependencies

RUN conda create -n py36 numpy python=3.6
RUN activate py36
RUN conda activate py36

# Install pyaudio for ELL audio tutorials
RUN sudo apt-get install -y portaudio19-dev
RUN sudo apt-get install -y python3-pyaudio
RUN pip install pyaudio

# Install ONNX for import-onnx.py
RUN pip install onnx

ENV ELL_ROOT "/ELL"

Expand All @@ -22,9 +30,6 @@ RUN make _ELL_python
ENV ELL_BUILD "/ELL/build/bin"
ENV PATH "$PATH:$ELL_BUILD"

# Install ONNX for import-onnx.py
RUN pip install onnx

# Install helpers for running command line scripts
RUN pip install \
argparse \
Expand Down

0 comments on commit 74fb22c

Please sign in to comment.