We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10a3412 commit 46654f4Copy full SHA for 46654f4
Dockerfile
@@ -1,8 +1,8 @@
1
-FROM ubuntu:16.04
+FROM python:3.7-stretch
2
LABEL maintainer "[email protected]"
3
4
-RUN apt-get update --fix-missing
5
-RUN apt-get install -y python-pygame python-pip
+RUN apt-get update && \
+ pip install pygame
6
7
COPY ./requirements.txt /requirements.txt
8
RUN pip install -r /requirements.txt
duckrunner
@@ -1 +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"
+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"
0 commit comments