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:
parent
8599c4b264
commit
3600570667
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user