Compare commits

...

12 Commits
43 ... 74

Author SHA1 Message Date
sparklyballs
06d53f02f4 Merge pull request #20 from linuxserver/bump_versions
bump libtorrent version
2018-04-26 13:27:47 +01:00
sparklyballs
87b783fd8c bump libtorrent version 2018-04-26 09:39:28 +01:00
sparklyballs
f09f155753 update changelog 2018-03-02 19:49:56 +00:00
sparklyballs
1c7351b7c0 Merge pull request #19 from pl77/4.0.4-Update
Update to qbittorrent 4.0.4 and libtorrent 1.1.6
2018-03-02 19:49:06 +00:00
pl77
2359b3b2f2 Update to qbittorrent 4.0.4 and libtorrent 1.1.6
No change necessary to patch file.
2018-03-02 12:48:44 -05:00
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
sparklyballs
c5579f753b Merge pull request #14 from linuxserver/3.7
bump to alpine 3.7 and fix continuation lines
2017-12-17 00:12:39 +00:00
sparklyballs
9c178a4fdf bump to alpine 3.7 and fix continuation lines 2017-12-09 13:10:44 +00:00
2 changed files with 16 additions and 29 deletions

View File

@@ -1,14 +1,14 @@
FROM lsiobase/alpine:3.6 FROM lsiobase/alpine:3.7
MAINTAINER sparklyballs
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# package versions # package versions
ARG QBITTORRENT_VER="4.0.2" ARG QBITTORRENT_VER="4.0.4"
ARG RASTERBAR_VER="1.1.5" ARG RASTERBAR_VER="1.1.7"
# environment settings # environment settings
ENV HOME="/config" \ ENV HOME="/config" \
@@ -18,8 +18,8 @@ XDG_DATA_HOME="/config"
# copy patches # copy patches
COPY patches/ /tmp/patches COPY patches/ /tmp/patches
# install build packages
RUN \ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \ apk add --no-cache --virtual=build-dependencies \
autoconf \ autoconf \
automake \ automake \
@@ -33,8 +33,7 @@ RUN \
libtool \ libtool \
make \ make \
qt5-qttools-dev && \ qt5-qttools-dev && \
echo "**** install runtime packages ****" && \
# install runtime packages
apk add --no-cache \ apk add --no-cache \
boost-system \ boost-system \
boost-thread \ boost-thread \
@@ -42,8 +41,7 @@ RUN \
geoip \ geoip \
qt5-qtbase \ qt5-qtbase \
unrar && \ unrar && \
echo "**** compile libtorrent rasterbar ****" && \
# compile libtorrent rasterbar
git clone https://github.com/arvidn/libtorrent.git /tmp/libtorrent && \ git clone https://github.com/arvidn/libtorrent.git /tmp/libtorrent && \
cd /tmp/libtorrent && \ cd /tmp/libtorrent && \
RASTERBAR_REALVER=${RASTERBAR_VER//./_} && \ RASTERBAR_REALVER=${RASTERBAR_VER//./_} && \
@@ -53,26 +51,12 @@ RUN \
--disable-debug \ --disable-debug \
--enable-encryption \ --enable-encryption \
--prefix=/usr && \ --prefix=/usr && \
# attempt to set number of cores available for make to use make && \
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 install && \ make install && \
strip --strip-unneeded \ strip --strip-unneeded \
/usr/lib/libtorrent-rasterbar.so* \ /usr/lib/libtorrent-rasterbar.so* \
/usr/lib/libtorrent-rasterbar.a* && \ /usr/lib/libtorrent-rasterbar.a* && \
echo "**** compile qbittorrent ****" && \
# compile qbittorrent
mkdir -p \ mkdir -p \
/tmp/qbittorrent-src && \ /tmp/qbittorrent-src && \
curl -o \ curl -o \
@@ -87,11 +71,9 @@ RUN \
./configure \ ./configure \
--disable-gui \ --disable-gui \
--prefix=/usr && \ --prefix=/usr && \
make -j $CPU_CORES && \ make && \
set +ex && \
make install && \ make install && \
echo "**** cleanup ****" && \
# cleanup
apk del --purge \ apk del --purge \
build-dependencies && \ build-dependencies && \
rm -rf \ rm -rf \

View File

@@ -100,6 +100,11 @@ To monitor the logs of the container in realtime: `docker logs -f qbittorrent`
## Versions ## Versions
+ **26.04.18:** Bump libtorrent to 1.1.7.
+ **02.03.18:** Bump qbitorrent to 4.0.4 and libtorrent to 1.1.6.
+ **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. + **01.12.17:** Update to v4.0.2.
+ **27.11.17:** Update to v4 and use cpu_core routine to speed up builds. + **27.11.17:** Update to v4 and use cpu_core routine to speed up builds.
+ **16.09.17:** Bump to 3.3.16, Add WEBUI_PORT variable and notes to README to allow changing port of webui. + **16.09.17:** Bump to 3.3.16, Add WEBUI_PORT variable and notes to README to allow changing port of webui.