mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
glxgears wtf
This commit is contained in:
parent
d9a7794d3a
commit
e4f12f7ffd
|
@ -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 \
|
||||
|
|
18
glxgears/Dockerfile
Normal file
18
glxgears/Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user