Commit dc559f13 authored by Alexander Palmisano's avatar Alexander Palmisano
Browse files

added pygame GUI docker

parent 7cfd9031
......@@ -48,4 +48,18 @@ RUN apt-get -y install git python3-dev python3-setuptools python3-numpy python3-
xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic fontconfig fonts-freefont-ttf libfreetype6-dev
COPY pip_req.txt /temp/
RUN python3 -m pip install -r /temp/pip_req.txt
\ No newline at end of file
RUN python3 -m pip install -r /temp/pip_req.txt
#RUN pygame with GUI in docker
# comment out line 967 (generate_graph(snake_length, map, map_filename))
# docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY --name snake IMAGE_NAME:TAG
# COPY . /2psnake
# RUN useradd -m -U -s /bin/bash pygame
# USER pygame
# WORKDIR /2psnake/Game
# ENV SHELL /bin/bash
# ENTRYPOINT ["python3", ""]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment