From e4f12f7ffd2f5ceffc1c9b4a3b83feb250ecf994 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Wed, 15 Apr 2015 23:33:18 -0700 Subject: [PATCH] glxgears wtf --- chrome/Dockerfile | 2 +- glxgears/Dockerfile | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 glxgears/Dockerfile diff --git a/chrome/Dockerfile b/chrome/Dockerfile index bb0930a..22067ba 100644 --- a/chrome/Dockerfile +++ b/chrome/Dockerfile @@ -19,8 +19,8 @@ RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.l libcurl3 \ libexif-dev \ libgconf-2-4 \ - libgl1-mesa-glx \ libgl1-mesa-dri \ + libgl1-mesa-glx \ libnspr4 \ libnss3 \ libpango1.0-0 \ diff --git a/glxgears/Dockerfile b/glxgears/Dockerfile new file mode 100644 index 0000000..e39c0fa --- /dev/null +++ b/glxgears/Dockerfile @@ -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 + +# 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" ]