-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
66 lines (58 loc) · 1.76 KB
/
Dockerfile
File metadata and controls
66 lines (58 loc) · 1.76 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
FROM ubuntu:24.04
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
LC_CTYPE=en_US.UTF-8 \
WORKDIR=/home/ubuntu
EXPOSE 9091 \
51413/tcp \
51413/udp \
46882/udp \
50052/udp
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install --assume-yes --no-install-recommends \
binutils \
binwalk \
ca-certificates \
command-not-found \
curl \
ent \
ffmpeg \
ghostscript \
git \
gnupg2 \
language-pack-en \
libimage-exiftool-perl \
lrzip \
lsb-release \
mat2 \
ncal \
nfs-common \
p7zip-full \
pipx \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
rename \
software-properties-common \
sudo \
transmission-cli \
unzip \
valgrind \
wget \
whois \
&& rm --force --recursive /var/lib/apt/lists/*
RUN add-apt-repository --yes 'ppa:tomtomtom/yt-dlp' \
&& apt-get update \
&& apt-get install --assume-yes --no-install-recommends yt-dlp \
&& rm --force --recursive /var/lib/apt/lists/*
RUN mkdir -p /etc/sudoers.d \
&& echo "ubuntu ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/ubuntu
USER ubuntu
WORKDIR /home/ubuntu
RUN mkdir --parents $WORKDIR/.config/transmission/blocklists \
&& curl https://raw.githubusercontent.com/initbar/lib/main/scripts/linux-cli.sh | bash \
&& curl https://raw.githubusercontent.com/initbar/lib/main/scripts/packages/transmission-blocklist.sh | bash \
> $WORKDIR/.config/transmission/blocklists/blocklists