File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ sudo: required
5
5
dist : xenial
6
6
before_install :
7
7
- sudo apt-get install -y xvfb
8
- - sudo apt-get install -y mercurial libfreetype6-dev
8
+ - sudo apt-get install -y libfreetype6-dev
9
9
- sudo apt-get build-dep -y python-pygame
10
10
- pip install pygame
11
11
install :
Original file line number Diff line number Diff line change 1
- FROM ubuntu:16.04
1
+ FROM python:3.7-stretch
2
2
LABEL maintainer
"[email protected] "
3
3
4
- RUN apt-get update --fix-missing
5
- RUN apt-get install -y python-pygame python- pip
4
+ RUN apt-get update && \
5
+ pip install pygame
6
6
7
7
COPY ./requirements.txt /requirements.txt
8
8
RUN pip install -r /requirements.txt
Original file line number Diff line number Diff line change 1
- docker run --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v "$(pwd)":/app -w /app skytreader/pygame-objects sh -c "python -m $1"
1
+ docker run --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v "$(pwd)":/app -w /app skytreader/pygame-objects:latest sh -c "python -m $1"
You can’t perform that action at this time.
0 commit comments