forked from wsjeon/maddpg-rllib
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Singularity
33 lines (27 loc) · 953 Bytes
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Header
Bootstrap: docker
From: tensorflow/tensorflow:nightly-gpu-py3
# Section
%post
# Git
apt-get install -y git
# Ray rllib
apt-get install -y libxrender1
pip install --progress-bar off psutil
pip install --progress-bar off -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.8.0.dev2-cp36-cp36m-manylinux1_x86_64.whl
pip install --progress-bar off ray[rllib]
pip install --progress-bar off requests
# Multi-agent particle environments
git clone https://github.com/wsjeon/multiagent-particle-envs.git /MPE
cd /MPE
pip install --progress-bar off -e .
# Dependencies
pip install --progress-bar off opencv-python
pip install --progress-bar off pandas
pip install --progress-bar off setproctitle
pip install --progress-bar off box2d-py
pip install --progress-bar off tensorflow-probability
%environment
export SHELL=/bin/bash
%runscript
exec /bin/bash "$@"