-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (34 loc) · 1.31 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# ############################################################################
# Project: docker-X11-apps (none)
# File...: qbittorrent/Dockerfile
# Created: Thursday, 2023/01/26 - 20:40:47
# Author.: @fbnmtz, ([email protected])
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Last Modified: Thursday, 2023/01/26 - 21:26:49
# Modified By..: @fbnmtz, ([email protected])
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Version: 0.0.1.17
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Description:
# >
# ############################################################################
# HISTORY:
#
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt install software-properties-common -y && \
add-apt-repository ppa:qbittorrent-team/qbittorrent-stable && \
apt update && \
apt install -y qbittorrent
RUN mkdir /home/user && \
groupadd user && \
useradd -d /home/user -s /bin/bash -g user user && \
chown user:user -R /home/user
RUN rm -rf /var/cache/* && \
rm -rf /usr/share/man/* && \
rm -rf /tmp/*
USER user
ENV HOME /home/user
CMD qbittorrent