forked from google-research/football
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
19 lines (16 loc) · 822 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARG DOCKER_BASE
FROM $DOCKER_BASE
ARG DEVICE
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get --no-install-recommends install -yq git cmake build-essential \
libgl1-mesa-dev libsdl2-dev \
libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libboost-all-dev \
libdirectfb-dev libst-dev mesa-utils xvfb x11vnc \
libsdl-sge-dev python3-pip
RUN python3 -m pip install --upgrade pip setuptools
RUN pip3 install --use-feature=2020-resolver --no-cache-dir psutil dm-sonnet==1.*
RUN pip list | grep 'tensorflow ' || pip3 install --use-feature=2020-resolver --no-cache-dir tensorflow==1.15.*
RUN pip3 install --use-feature=2020-resolver --no-cache-dir git+https://github.com/openai/baselines.git@master
COPY . /gfootball
RUN cd /gfootball && pip3 install --use-feature=2020-resolver .
WORKDIR '/gfootball'