-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (16 loc) · 1.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:latest
RUN apt-get update
RUN apt-get update && \
apt-get install -y build-essential libzmq3-dev python3-yaml \
python3-jinja2 libgtest-dev libgflags-dev gcovr pkg-config git
RUN mkdir /prologin
RUN git clone https://github.com/prologin/stechec2 /prologin/stechec2
RUN apt-get install -y wget unzip
RUN wget https://wsend.net/2fcd52a58677666d034569e037016474/prologin2020_plante-master.zip && unzip prologin2020_plante-master.zip
RUN mkdir /prologin/stechec2/games/prologin2020_plante && cp -r prologin2020_plante-master/* /prologin/stechec2/games/prologin2020_plante
RUN ( cd /prologin/stechec2 && python3 ./waf.py configure --with-games=prologin2020_plante --prefix=/usr && python3 ./waf.py build install && stechec2-generator player prologin2020_plante player_env )
RUN apt-get install -y python3-pip && pip3 install websockets
RUN mkdir /gui && cp -r /prologin/stechec2/games/prologin2020_plante/spectators/* /gui && mkdir /gui/www && cp -r /prologin/stechec2/games/prologin2020_plante/www/* /gui/www
RUN rm -rf /prologin/stechec2 prologin2020_plante-master prologin2020_plante-master.zip
RUN stechec2-generator player prologin2020_plante /prologin
WORKDIR /prologin