mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
11 lines
365 B
Docker
11 lines
365 B
Docker
|
FROM debian:latest
|
||
|
RUN apt-get update && apt-get install -y cmake git g++ libimlib2-dev liblua5.3-dev libxext-dev libxft-dev libxdamage-dev libxinerama-dev ncurses-dev
|
||
|
COPY . /root/
|
||
|
RUN mkdir /root/build
|
||
|
WORKDIR /root/build
|
||
|
ARG X11=yes
|
||
|
RUN sh -c 'if [ "$X11" = "yes" ] ; then cmake ../ ; else cmake -DBUILD_X11=OFF ../ ; fi'
|
||
|
RUN make all
|
||
|
RUN make install
|
||
|
CMD conky
|