mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
40314b6356
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
21 lines
420 B
Docker
21 lines
420 B
Docker
# 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:buster-slim
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
# Install all the things
|
|
RUN apt-get update && apt-get install -y \
|
|
mesa-utils \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV LIBGL_DEBUG verbose
|
|
|
|
ENTRYPOINT [ "glxgears" ]
|