glxgears wtf

This commit is contained in:
Jessica Frazelle 2015-04-15 23:33:18 -07:00
parent d9a7794d3a
commit e4f12f7ffd
2 changed files with 19 additions and 1 deletions

View File

@ -19,8 +19,8 @@ RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.l
libcurl3 \ libcurl3 \
libexif-dev \ libexif-dev \
libgconf-2-4 \ libgconf-2-4 \
libgl1-mesa-glx \
libgl1-mesa-dri \ libgl1-mesa-dri \
libgl1-mesa-glx \
libnspr4 \ libnspr4 \
libnss3 \ libnss3 \
libpango1.0-0 \ libpango1.0-0 \

18
glxgears/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# To use:
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/dri jess/glxgears
# Base docker image
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
# Install all the things
RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.list && \
apt-get update && apt-get install -y \
glx-alternative-nvidia \
libgl1-mesa-glx \
libgl1-mesa-dri \
mesa-utils \
--no-install-recommends
ENV LIBGL_DEBUG verbose
ENTRYPOINT [ "glxgears" ]