1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

update dockerfile and makefile

This commit is contained in:
Zach Dwiel
2018-09-25 16:14:14 -04:00
committed by zach dwiel
parent 67faa80ea0
commit 1e83a27bee
3 changed files with 127 additions and 21 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/sh
set -e
# # download mjpro150
# mkdir /root/.mujoco
# cd /root/.mujoco
# wget https://www.roboti.us/download/mjpro150_linux.zip
# unzip mjpro150_linux.zip
# copy the mujoco license key into the container
# echo $MUJOCO_KEY | base64 --decode > /root/.mujoco/mjkey.txt
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
# git clone https://github.com/deepmind/dm_control.git
# pip3 install ./dm_control
export VIZDOOM_ROOT=`pip show vizdoom 2>/dev/null | awk '/Location/{print $2}'`/vizdoom
cd /root/src/
exec "$@"