1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-24 11:55:43 +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
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 \