From 3abd9d6e557c786ad2e132e3d9576bb72a2cc382 Mon Sep 17 00:00:00 2001 From: Odmin Date: Wed, 20 Nov 2019 03:21:11 +0300 Subject: [PATCH] experimental qb container --- .../qbittorrent/latest/.docker-repository.yml | 1 + .../qbittorrent/latest/.dockerignore | 3 ++ _experemental/qbittorrent/latest/Dockerfile | 43 ++++++++++++++++++ _experemental/qbittorrent/latest/Makefile | 4 ++ .../latest/qbittorrent-unstable.list | 2 + .../qbittorrent/stable/.docker-repository.yml | 1 + .../qbittorrent/stable/.dockerignore | 3 ++ _experemental/qbittorrent/stable/Dockerfile | 44 +++++++++++++++++++ _experemental/qbittorrent/stable/Makefile | 4 ++ .../stable/qbittorrent-stable.list | 2 + 10 files changed, 107 insertions(+) create mode 100644 _experemental/qbittorrent/latest/.docker-repository.yml create mode 100644 _experemental/qbittorrent/latest/.dockerignore create mode 100644 _experemental/qbittorrent/latest/Dockerfile create mode 100644 _experemental/qbittorrent/latest/Makefile create mode 100644 _experemental/qbittorrent/latest/qbittorrent-unstable.list create mode 100644 _experemental/qbittorrent/stable/.docker-repository.yml create mode 100644 _experemental/qbittorrent/stable/.dockerignore create mode 100644 _experemental/qbittorrent/stable/Dockerfile create mode 100644 _experemental/qbittorrent/stable/Makefile create mode 100644 _experemental/qbittorrent/stable/qbittorrent-stable.list diff --git a/_experemental/qbittorrent/latest/.docker-repository.yml b/_experemental/qbittorrent/latest/.docker-repository.yml new file mode 100644 index 000000000..78e948324 --- /dev/null +++ b/_experemental/qbittorrent/latest/.docker-repository.yml @@ -0,0 +1 @@ +repository: epicmorg/qbittorrent diff --git a/_experemental/qbittorrent/latest/.dockerignore b/_experemental/qbittorrent/latest/.dockerignore new file mode 100644 index 000000000..99176b278 --- /dev/null +++ b/_experemental/qbittorrent/latest/.dockerignore @@ -0,0 +1,3 @@ +.git +scripts +.idea \ No newline at end of file diff --git a/_experemental/qbittorrent/latest/Dockerfile b/_experemental/qbittorrent/latest/Dockerfile new file mode 100644 index 000000000..9a7662522 --- /dev/null +++ b/_experemental/qbittorrent/latest/Dockerfile @@ -0,0 +1,43 @@ +FROM epicmorg/devel +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +ENV BuildDocker true +ARG SBM_DIR=/mnt/smb + +################################################################## +# Files and folders +################################################################## +RUN mkdir -p ${SMB_DIR} + +################################################################## +# qBitTorrent sources list +################################################################## +RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4 +COPY qbittorrent-unstable.list /etc/apt/sources.list.d/qbittorrent-unstable.list +RUN apt autoremove -y && apt update && apt dist-upgrade -y + +############################# #################################### +# qbittorrent install +################################################################## +RUN apt-get update && \ + apt install -y --allow-unauthenticated --allow-downgrades \ + qbittorrent \ + cifs-utils + + +################################################################## +# other customisations +################################################################## +RUN cat /etc/samba/smb.conf + +################################################################## +# cleaninig up +################################################################## +RUN apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/_experemental/qbittorrent/latest/Makefile b/_experemental/qbittorrent/latest/Makefile new file mode 100644 index 000000000..b531b0d4b --- /dev/null +++ b/_experemental/qbittorrent/latest/Makefile @@ -0,0 +1,4 @@ +all: emgqb +emgqb: + docker build --compress -t epicmorg/qbittorrent . + diff --git a/_experemental/qbittorrent/latest/qbittorrent-unstable.list b/_experemental/qbittorrent/latest/qbittorrent-unstable.list new file mode 100644 index 000000000..227e24a11 --- /dev/null +++ b/_experemental/qbittorrent/latest/qbittorrent-unstable.list @@ -0,0 +1,2 @@ +deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu eoan main +deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-unstable/ubuntu eoan main diff --git a/_experemental/qbittorrent/stable/.docker-repository.yml b/_experemental/qbittorrent/stable/.docker-repository.yml new file mode 100644 index 000000000..78e948324 --- /dev/null +++ b/_experemental/qbittorrent/stable/.docker-repository.yml @@ -0,0 +1 @@ +repository: epicmorg/qbittorrent diff --git a/_experemental/qbittorrent/stable/.dockerignore b/_experemental/qbittorrent/stable/.dockerignore new file mode 100644 index 000000000..99176b278 --- /dev/null +++ b/_experemental/qbittorrent/stable/.dockerignore @@ -0,0 +1,3 @@ +.git +scripts +.idea \ No newline at end of file diff --git a/_experemental/qbittorrent/stable/Dockerfile b/_experemental/qbittorrent/stable/Dockerfile new file mode 100644 index 000000000..f011bf73b --- /dev/null +++ b/_experemental/qbittorrent/stable/Dockerfile @@ -0,0 +1,44 @@ +FROM epicmorg/devel +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +################################################################## +# ARGuments +################################################################## +#ENV BuildDocker true +#ARG BUILDS_DIR=/builds +#ARG SRC_DIR=${BUILDS_DIR}/src +#ARG EXPORT_DIR=${BUILDS_DIR}/export + +################################################################## +# Files and folders +################################################################## +#RUN mkdir -p ${SRC_DIR} ${EXPORT_DIR} ${PRE_DIR} + +################################################################## +# qBitTorrent sources list +################################################################## +RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D35164147CA69FC4 +COPY qbittorrent-stable.list /etc/apt/sources.list.d/qbittorrent-stable.list +RUN apt autoremove -y && apt update && apt dist-upgrade -y + +############################# #################################### +# qbittorrent install +################################################################## +RUN apt-get update && \ + apt install -y --allow-unauthenticated --allow-downgrades \ + qbittorrent \ + cifs-utils + +################################################################## +# other customisations +################################################################## +RUN cat /etc/samba/smb.conf + +################################################################## +# cleaninig up +################################################################## +RUN apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/_experemental/qbittorrent/stable/Makefile b/_experemental/qbittorrent/stable/Makefile new file mode 100644 index 000000000..610f20367 --- /dev/null +++ b/_experemental/qbittorrent/stable/Makefile @@ -0,0 +1,4 @@ +all: emgqb +emgqb: + docker build --compress -t epicmorg/qbittorrent:stable . + diff --git a/_experemental/qbittorrent/stable/qbittorrent-stable.list b/_experemental/qbittorrent/stable/qbittorrent-stable.list new file mode 100644 index 000000000..be86cd304 --- /dev/null +++ b/_experemental/qbittorrent/stable/qbittorrent-stable.list @@ -0,0 +1,2 @@ +deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu eoan main +deb-src http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu eoan main