CI dockerfiles with and without mpi

This commit is contained in:
Peter Zhokhov
2018-10-31 11:27:45 -07:00
parent d1f7d12743
commit c248bf9a46
3 changed files with 23 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
FROM python:3.6
RUN apt-get -y update && apt-get -y install ffmpeg
ENV CODE_DIR /root/code
COPY . $CODE_DIR/baselines
WORKDIR $CODE_DIR/baselines
# Clean up pycache and pyc files
RUN rm -rf __pycache__ && \
find . -name "*.pyc" -delete && \
pip install tensorflow && \
pip install -e .[test]
CMD /bin/bash