Skip to content

Commit

Permalink
Add the "display" driver capabilities to samples that requires it
Browse files Browse the repository at this point in the history
  • Loading branch information
flx42 authored and Renaud Gaubert committed Aug 12, 2019
1 parent 1717784 commit 897bfa9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cudagl/centos7/nbody/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

FROM nvidia/cudagl:9.0-base-centos7

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN yum install -y \
cuda-samples-$CUDA_PKG_VERSION && \
rm -rf /var/cache/yum/*
Expand Down
2 changes: 2 additions & 0 deletions cudagl/ubuntu16.04/nbody/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

FROM nvidia/cudagl:9.0-base-ubuntu16.04

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-samples-$CUDA_PKG_VERSION && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 2 additions & 0 deletions opengl/centos7/graphics-samples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

FROM nvidia/opengl:1.0-glvnd-devel-centos7

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN yum install -y \
git \
gcc-c++ \
Expand Down
2 changes: 2 additions & 0 deletions opengl/ubuntu14.04/glxgears/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

FROM nvidia/opengl:1.0-glvnd-runtime-ubuntu14.04

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
mesa-utils && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 2 additions & 0 deletions opengl/ubuntu14.04/graphics-samples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

FROM nvidia/opengl:1.0-glvnd-devel-ubuntu14.04

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ca-certificates \
Expand Down
2 changes: 2 additions & 0 deletions opengl/ubuntu16.04/glxgears/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

FROM nvidia/opengl:1.0-glvnd-runtime-ubuntu16.04

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
mesa-utils && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 2 additions & 0 deletions opengl/ubuntu16.04/graphics-samples/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

FROM nvidia/opengl:1.0-glvnd-devel-ubuntu16.04

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ca-certificates \
Expand Down
2 changes: 2 additions & 0 deletions opengl/ubuntu16.04/turbovnc-virtualgl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ ARG LIBJPEG_VERSION=1.5.2
ARG WEBSOCKIFY_VERSION=0.8.0
ARG NOVNC_VERSION=1.0.0-beta

ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
Expand Down

0 comments on commit 897bfa9

Please sign in to comment.