Skip to content

Instantly share code, notes, and snippets.

@jtoy
Created March 3, 2018 18:26
Show Gist options
  • Save jtoy/2fee28d8931de0ce6b5883e4b5658560 to your computer and use it in GitHub Desktop.
Save jtoy/2fee28d8931de0ce6b5883e4b5658560 to your computer and use it in GitHub Desktop.
Coach tensorflow cpu - Dockerfile
FROM ubuntu:16.04
RUN apt-get update -y && apt-get install -y --no-install-recommends \
python3-pip python3-dev cmake zlib1g-dev python3-tk python-opencv build-essential
RUN pip3 install --upgrade pip
RUN pip3 install virtualenv
RUN pip3 install setuptools
RUN mkdir -p /coach
WORKDIR /coach
ADD . /coach
RUN pip3 install -r ./requirements_coach.txt
# Gym Support
#############
RUN apt-get install libav-tools libsdl2-dev swig cmake -y
RUN pip3 install box2d
RUN pip3 install gym
# Tensorflow
############
RUN pip3 install https://anaconda.org/intel/tensorflow/1.4.0/download/tensorflow-1.4.0-cp35-cp35m-linux_x86_64.whl
@kfezer
Copy link

kfezer commented Mar 10, 2018

Hitting an error at RUN pip3 install -r ./requirements_coach.txt

Could not open requirements file: [Errno 2] No such file or directory: './requirements_coach.txt'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment