This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental OpenGL runtime/vgl images
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ubuntu:14.04 | ||
MAINTAINER NVIDIA CORPORATION <digits@nvidia.com> | ||
|
||
LABEL com.nvidia.volumes.needed="nvidia_driver" | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \ | ||
libxau6 \ | ||
libxdmcp6 \ | ||
libxcb1 \ | ||
libxext6 \ | ||
libx11-6 \ | ||
xauth && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && \ | ||
echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf | ||
|
||
RUN mkdir -p /opt/nvidia/lib && \ | ||
ln -s /usr/local/nvidia/lib /opt/nvidia/lib/i386-linux-gnu && \ | ||
ln -s /usr/local/nvidia/lib64 /opt/nvidia/lib/x86_64-linux-gnu | ||
|
||
ENV PATH /usr/local/nvidia/bin:${PATH} | ||
ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH} | ||
ENV LD_PRELOAD /opt/nvidia/\$LIB/libGL.so.1:${LD_PRELOAD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM opengl:runtime | ||
MAINTAINER NVIDIA CORPORATION <digits@nvidia.com> | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \ | ||
ca-certificates \ | ||
curl \ | ||
libxv1 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -fsSL -o virtualgl.deb https://sourceforge.net/projects/virtualgl/files/2.5/virtualgl_2.5_amd64.deb/download && \ | ||
dpkg -i virtualgl.deb && rm virtualgl.deb | ||
|
||
ENV PATH /opt/VirtualGL/bin/:${PATH} | ||
|
||
ENTRYPOINT ["/opt/VirtualGL/bin/vglrun"] |