From 3600570667578406395748f6447cb0b443c00d3d Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 9 Dec 2018 11:20:58 -0500 Subject: [PATCH] Build nvidia support in Docker image. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc537630..ee8d3701 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:latest RUN apt-get update \ - && DEBIAN_FRONTEND=noninteractive apt-get install -qy \ + && DEBIAN_FRONTEND=noninteractive \ + apt-get install -qy --no-install-recommends \ cmake \ git \ g++ \ @@ -24,6 +25,7 @@ RUN apt-get update \ audacious-dev \ libsystemd-dev \ libxml2-dev \ + libxnvctrl-dev \ tolua++ COPY . /conky @@ -46,6 +48,7 @@ RUN sh -c 'if [ "$X11" = "yes" ] ; then \ -DBUILD_PULSEAUDIO=ON \ -DBUILD_JOURNAL=ON \ -DBUILD_RSS=ON \ + -DBUILD_NVIDIA=ON \ ../ \ ; else \ cmake \