1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-18 11:40:18 +01:00

adding docker and jenkins files

This commit is contained in:
itaicaspi-intel
2018-09-04 16:43:52 +03:00
parent d3f97cd93b
commit 06c969951e
3 changed files with 230 additions and 0 deletions

21
docker_entrypoint Normal file
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 "$@"