1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 18:15:17 +00:00

Build nvidia support in Docker image.

This commit is contained in:
Brenden Matthews 2018-12-09 11:20:58 -05:00
parent 8599c4b264
commit 3600570667
No known key found for this signature in database
GPG Key ID: 60FBD122E62B0D30

View File

@ -1,6 +1,7 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN apt-get update \ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qy \ && DEBIAN_FRONTEND=noninteractive \
apt-get install -qy --no-install-recommends \
cmake \ cmake \
git \ git \
g++ \ g++ \
@ -24,6 +25,7 @@ RUN apt-get update \
audacious-dev \ audacious-dev \
libsystemd-dev \ libsystemd-dev \
libxml2-dev \ libxml2-dev \
libxnvctrl-dev \
tolua++ tolua++
COPY . /conky COPY . /conky
@ -46,6 +48,7 @@ RUN sh -c 'if [ "$X11" = "yes" ] ; then \
-DBUILD_PULSEAUDIO=ON \ -DBUILD_PULSEAUDIO=ON \
-DBUILD_JOURNAL=ON \ -DBUILD_JOURNAL=ON \
-DBUILD_RSS=ON \ -DBUILD_RSS=ON \
-DBUILD_NVIDIA=ON \
../ \ ../ \
; else \ ; else \
cmake \ cmake \