Skip to content

Commit 46654f4

Browse files
committed
Update Dockerfile.
1 parent 10a3412 commit 46654f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM ubuntu:16.04
1+
FROM python:3.7-stretch
22
LABEL maintainer "[email protected]"
33

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
66

77
COPY ./requirements.txt /requirements.txt
88
RUN pip install -r /requirements.txt

duckrunner

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +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"
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

Comments
 (0)