Compare commits

..

5 Commits
45 ... 53

Author SHA1 Message Date
sparklyballs
f6d230b542 Merge pull request #17 from linuxserver/deprecate_cpu_core
deprecate cpu_core routine lack of scaling
2018-01-03 11:25:14 +00:00
sparklyballs
bf7c1a5fd4 deprecate cpu_core routine lack of scaling 2018-01-02 21:39:50 +00:00
sparklyballs
18eadcefdb Merge pull request #16 from Owkkuri/version_update_4_0_3
Version update 4 0 3
2017-12-19 11:50:58 +00:00
Ross van Wyk
07e75f2949 update docs
Add version change to Versions list
2017-12-19 01:11:21 +02:00
Ross van Wyk
3c3ae9cab1 version update
Update qbittorrent version to 4.0.3, was 4.0.2
2017-12-19 01:10:40 +02:00
2 changed files with 5 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="sparklyballs"
# package versions
ARG QBITTORRENT_VER="4.0.2"
ARG QBITTORRENT_VER="4.0.3"
ARG RASTERBAR_VER="1.1.5"
# environment settings
@@ -51,19 +51,7 @@ RUN \
--disable-debug \
--enable-encryption \
--prefix=/usr && \
echo "**** attempt to set number of cores available for make to use ****" && \
set -ex && \
CPU_CORES=$( < /proc/cpuinfo grep -c processor ) || echo "failed cpu look up" && \
if echo $CPU_CORES | grep -E -q '^[0-9]+$'; then \
: ;\
if [ "$CPU_CORES" -gt 7 ]; then \
CPU_CORES=$(( CPU_CORES - 3 )); \
elif [ "$CPU_CORES" -gt 5 ]; then \
CPU_CORES=$(( CPU_CORES - 2 )); \
elif [ "$CPU_CORES" -gt 3 ]; then \
CPU_CORES=$(( CPU_CORES - 1 )); fi \
else CPU_CORES="1"; fi && \
make -j $CPU_CORES && \
make && \
make install && \
strip --strip-unneeded \
/usr/lib/libtorrent-rasterbar.so* \
@@ -83,8 +71,7 @@ RUN \
./configure \
--disable-gui \
--prefix=/usr && \
make -j $CPU_CORES && \
set +ex && \
make && \
make install && \
echo "**** cleanup ****" && \
apk del --purge \

View File

@@ -100,6 +100,8 @@ To monitor the logs of the container in realtime: `docker logs -f qbittorrent`
## Versions
+ **02.01.18:** Deprecate cpu_core routine lack of scaling.
+ **19.12.17:** Update to v4.0.3.
+ **09.12.17:** Rebase to alpine 3.7.
+ **01.12.17:** Update to v4.0.2.
+ **27.11.17:** Update to v4 and use cpu_core routine to speed up builds.