mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Update dockerfile.
This commit is contained in:
parent
81a56410b4
commit
9660c142a6
177
Dockerfile
177
Dockerfile
@ -1,102 +1,105 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get install -qy --no-install-recommends \
|
apt-get install -qy --no-install-recommends \
|
||||||
cmake \
|
cmake \
|
||||||
git \
|
git \
|
||||||
g++ \
|
g++ \
|
||||||
libimlib2-dev \
|
libimlib2-dev \
|
||||||
libxext-dev \
|
libxext-dev \
|
||||||
libxft-dev \
|
libxft-dev \
|
||||||
libxdamage-dev \
|
libxdamage-dev \
|
||||||
libxinerama-dev \
|
libxinerama-dev \
|
||||||
libmysqlclient-dev \
|
libmysqlclient-dev \
|
||||||
libical-dev \
|
libical-dev \
|
||||||
libircclient-dev \
|
libircclient-dev \
|
||||||
libcairo2-dev \
|
libcairo2-dev \
|
||||||
libmicrohttpd-dev \
|
libmicrohttpd-dev \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
liblua5.1-dev \
|
liblua5.1-dev \
|
||||||
librsvg2-dev \
|
librsvg2-dev \
|
||||||
libaudclient-dev \
|
libaudclient-dev \
|
||||||
libxmmsclient-dev \
|
libxmmsclient-dev \
|
||||||
libpulse-dev \
|
libpulse-dev \
|
||||||
libcurl4-gnutls-dev \
|
libcurl4-gnutls-dev \
|
||||||
audacious-dev \
|
audacious-dev \
|
||||||
libsystemd-dev \
|
libsystemd-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxnvctrl-dev \
|
libxnvctrl-dev \
|
||||||
tolua++
|
libiw-dev \
|
||||||
|
tolua++
|
||||||
|
|
||||||
COPY . /conky
|
COPY . /conky
|
||||||
WORKDIR /conky/build
|
WORKDIR /conky/build
|
||||||
ARG X11=yes
|
ARG X11=yes
|
||||||
|
|
||||||
RUN sh -c 'if [ "$X11" = "yes" ] ; then \
|
RUN sh -c 'if [ "$X11" = "yes" ] ; then \
|
||||||
cmake \
|
cmake \
|
||||||
-DBUILD_MYSQL=ON \
|
-DBUILD_MYSQL=ON \
|
||||||
-DBUILD_LUA_CAIRO=ON \
|
-DBUILD_LUA_CAIRO=ON \
|
||||||
-DBUILD_LUA_IMLIB2=ON \
|
-DBUILD_LUA_IMLIB2=ON \
|
||||||
-DBUILD_LUA_RSVG=ON \
|
-DBUILD_LUA_RSVG=ON \
|
||||||
-DBUILD_LUA_CAIRO=ON \
|
-DBUILD_LUA_CAIRO=ON \
|
||||||
-DBUILD_AUDACIOUS=ON \
|
-DBUILD_AUDACIOUS=ON \
|
||||||
-DBUILD_XMMS2=ON \
|
-DBUILD_XMMS2=ON \
|
||||||
-DBUILD_ICAL=ON \
|
-DBUILD_ICAL=ON \
|
||||||
-DBUILD_IRC=ON \
|
-DBUILD_IRC=ON \
|
||||||
-DBUILD_HTTP=ON \
|
-DBUILD_HTTP=ON \
|
||||||
-DBUILD_ICONV=ON \
|
-DBUILD_ICONV=ON \
|
||||||
-DBUILD_PULSEAUDIO=ON \
|
-DBUILD_PULSEAUDIO=ON \
|
||||||
-DBUILD_JOURNAL=ON \
|
-DBUILD_JOURNAL=ON \
|
||||||
-DBUILD_RSS=ON \
|
-DBUILD_RSS=ON \
|
||||||
-DBUILD_NVIDIA=ON \
|
-DBUILD_NVIDIA=ON \
|
||||||
../ \
|
-DBUILD_WLAN=ON \
|
||||||
; else \
|
../ \
|
||||||
cmake \
|
; else \
|
||||||
-DBUILD_X11=OFF \
|
cmake \
|
||||||
-DBUILD_MYSQL=ON \
|
-DBUILD_X11=OFF \
|
||||||
-DBUILD_LUA_CAIRO=ON \
|
-DBUILD_MYSQL=ON \
|
||||||
-DBUILD_LUA_IMLIB2=ON \
|
-DBUILD_LUA_CAIRO=ON \
|
||||||
-DBUILD_LUA_RSVG=ON \
|
-DBUILD_LUA_IMLIB2=ON \
|
||||||
-DBUILD_LUA_CAIRO=ON \
|
-DBUILD_LUA_RSVG=ON \
|
||||||
-DBUILD_AUDACIOUS=ON \
|
-DBUILD_LUA_CAIRO=ON \
|
||||||
-DBUILD_XMMS2=ON \
|
-DBUILD_AUDACIOUS=ON \
|
||||||
-DBUILD_ICAL=ON \
|
-DBUILD_XMMS2=ON \
|
||||||
-DBUILD_IRC=ON \
|
-DBUILD_ICAL=ON \
|
||||||
-DBUILD_HTTP=ON \
|
-DBUILD_IRC=ON \
|
||||||
-DBUILD_ICONV=ON \
|
-DBUILD_HTTP=ON \
|
||||||
-DBUILD_PULSEAUDIO=ON \
|
-DBUILD_ICONV=ON \
|
||||||
-DBUILD_JOURNAL=ON \
|
-DBUILD_PULSEAUDIO=ON \
|
||||||
-DBUILD_RSS=ON \
|
-DBUILD_JOURNAL=ON \
|
||||||
../ \
|
-DBUILD_RSS=ON \
|
||||||
; fi' \
|
-DBUILD_WLAN=ON \
|
||||||
|
../ \
|
||||||
|
; fi' \
|
||||||
&& make -j5 all \
|
&& make -j5 all \
|
||||||
&& make -j5 install \
|
&& make -j5 install \
|
||||||
&& apt-get remove -y \
|
&& apt-get remove -y \
|
||||||
cmake \
|
cmake \
|
||||||
git \
|
git \
|
||||||
g++ \
|
g++ \
|
||||||
libimlib2-dev \
|
libimlib2-dev \
|
||||||
libxext-dev \
|
libxext-dev \
|
||||||
libxft-dev \
|
libxft-dev \
|
||||||
libxdamage-dev \
|
libxdamage-dev \
|
||||||
libxinerama-dev \
|
libxinerama-dev \
|
||||||
libmysqlclient-dev \
|
libmysqlclient-dev \
|
||||||
libical-dev \
|
libical-dev \
|
||||||
libircclient-dev \
|
libircclient-dev \
|
||||||
libcairo2-dev \
|
libcairo2-dev \
|
||||||
libmicrohttpd-dev \
|
libmicrohttpd-dev \
|
||||||
ncurses-dev \
|
ncurses-dev \
|
||||||
liblua5.1-dev \
|
liblua5.1-dev \
|
||||||
librsvg2-dev \
|
librsvg2-dev \
|
||||||
audacious-dev \
|
audacious-dev \
|
||||||
libaudclient-dev \
|
libaudclient-dev \
|
||||||
libxmmsclient-dev \
|
libxmmsclient-dev \
|
||||||
libpulse-dev \
|
libpulse-dev \
|
||||||
libcurl4-gnutls-dev \
|
libcurl4-gnutls-dev \
|
||||||
libsystemd-dev \
|
libsystemd-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxnvctrl-dev \
|
libxnvctrl-dev \
|
||||||
tolua++ \
|
tolua++ \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& rm -rf /conky
|
&& rm -rf /conky
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user