From 2ab14b83df3e6e8e98414376d10d011b5b793412 Mon Sep 17 00:00:00 2001 From: Shangtong Zhang Date: Thu, 10 May 2018 22:30:49 -0600 Subject: [PATCH] Support docker --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..daf5464 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:16.04 + +RUN apt update +RUN apt install -y --allow-unauthenticated --no-install-recommends \ + build-essential apt-utils cmake git curl vim ca-certificates \ + libjpeg-dev libpng-dev python3.5 python3-pip python3-setuptools \ + libgtk3.0 libsm6 python3-dev +RUN rm -rf /var/lib/apt/lists/* + +WORKDIR /workspace/ +COPY deep_rl deep_rl +COPY setup.py setup.py +COPY examples.py examples.py +RUN pip3 install --upgrade pip +RUN ln -s /usr/bin/python3 /usr/bin/python +RUN ln -s /usr/bin/pip3 /usr/bin/pip +RUN pip install -e . +RUN pip install pybullet