Skip to content

Commit

Permalink
ncurses
Browse files Browse the repository at this point in the history
rtorrent may look for curses.h in a specific subdirectory
  • Loading branch information
Firerouge committed Jun 9, 2019
1 parent 1a3b0e2 commit 3eef1da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY config/flood_config.js /tmp/config.js
RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
&& addgroup -g ${GID} rtorrent \
&& adduser -h /home/rtorrent -s /bin/sh -G rtorrent -D -u ${UID} rtorrent \
&& build_pkgs="build-base subversion git libtool automake autoconf tar xz binutils curl-dev cppunit-dev libressl-dev zlib-dev linux-headers ncurses-dev ncurses-libs ncurses-static ncurses5-widec-libs libxml2-dev" \
&& build_pkgs="build-base subversion git libtool automake autoconf tar xz binutils curl-dev cppunit-dev libressl-dev zlib-dev linux-headers ncurses-dev libxml2-dev" \
&& runtime_pkgs="supervisor shadow su-exec nginx ca-certificates php7 php7-fpm php7-json openvpn curl python2 nodejs nodejs-npm ffmpeg sox unzip unrar" \
&& apk -U upgrade \
&& apk add --no-cache --virtual=build-dependencies ${build_pkgs} \
Expand Down Expand Up @@ -52,6 +52,8 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \
RUN cd /tmp \
&& git clone https://github.com/rakshasa/rtorrent.git \
&& cd /tmp/rtorrent \
&& mkdir /usr/include/ncursesw \
&& ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h \
&& ./autogen.sh \
&& ./configure --with-xmlrpc-c \
&& make -j ${NB_CORES} \
Expand Down

0 comments on commit 3eef1da

Please sign in to comment.