代码拉取完成,页面将自动刷新
# A Dockerfile that sets up a full Gym install with test dependencies
FROM ubuntu:16.04
# Install keyboard-configuration separately to avoid travis hanging waiting for keyboard selection
RUN \
apt-get -y update && \
apt-get install -y keyboard-configuration && \
# Maybe Install python3.6 on ubuntu 16.04 ?
# apt-get install -y software-properties-common && \
# add-apt-repository -y ppa:jonathonf/python-3.6 && \
# apt-get -y update && \
# apt-get -y install python3.6 python3.6-distutils python3.6-dev
apt-get install -y \
python-setuptools \
python-pip \
python3-dev \
python-pyglet \
python3-opengl \
libjpeg-dev \
libboost-all-dev \
libsdl2-dev \
libosmesa6-dev \
patchelf \
xvfb \
ffmpeg \
wget \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip install tox && \
# Download mujoco
mkdir /root/.mujoco && \
cd /root/.mujoco && \
wget https://www.roboti.us/download/mjpro150_linux.zip && \
unzip mjpro150_linux.zip && \
# setup vim to be humane and compatible with codebase standards
echo "set expandtab number shiftwidth=4 tabstop=4" > /root/.vimrc
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
# install dependencies
COPY . /usr/local/gym/
RUN cd /usr/local/gym && \
tox --notest
WORKDIR /usr/local/gym/
ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
CMD ["tox"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。