2015-04-16 08:33:18 +02:00
|
|
|
# To use:
|
2015-06-05 20:55:25 +02:00
|
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
|
|
# --device /dev/dri \
|
|
|
|
# jess/glxgears
|
|
|
|
#
|
|
|
|
|
2015-04-16 08:33:18 +02:00
|
|
|
# Base docker image
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
# Install all the things
|
2015-04-17 16:23:24 +02:00
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
mesa-utils \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-04-16 08:33:18 +02:00
|
|
|
|
|
|
|
ENV LIBGL_DEBUG verbose
|
|
|
|
|
|
|
|
ENTRYPOINT [ "glxgears" ]
|