File tree 4 files changed +16
-16
lines changed
4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
- FROM sinusbot/docker:1.0.0-beta.16-ba60e37 -discord
1
+ FROM sinusbot/docker:1.0.2-amd64 -discord
2
2
3
3
LABEL description="SinusBot - TeamSpeak 3 and Discord music bot."
4
- LABEL version="1.0.0-beta.16-ba60e37 "
4
+ LABEL version="1.0.2-amd64 "
5
5
6
6
# Install dependencies and clean up afterwards
7
7
RUN apt-get update && \
Original file line number Diff line number Diff line change 1
1
FROM debian:buster-slim
2
2
3
3
LABEL description="SinusBot - Discord only image"
4
- LABEL version="1.0.0-beta.16-ba60e37 "
4
+ LABEL version="1.0.2-amd64 "
5
5
6
6
# Install dependencies and clean up afterwards
7
7
RUN apt-get update && \
8
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates bzip2 unzip curl python procps libpci3 libxslt1.1 libxkbcommon0 locales && \
8
+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates bzip2 unzip curl python3 procps libpci3 libxslt1.1 libxkbcommon0 locales && \
9
9
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
10
10
11
11
# Set locale
@@ -22,8 +22,8 @@ RUN chmod 755 install.sh
22
22
# Download/Install SinusBot
23
23
RUN bash install.sh sinusbot
24
24
25
- # Download/Install youtube-dl
26
- RUN bash install.sh youtube-dl
25
+ # Download/Install yt-dlp
26
+ RUN bash install.sh yt-dlp
27
27
28
28
# Download/Install Text-to-Speech
29
29
RUN bash install.sh text-to-speech
Original file line number Diff line number Diff line change 17
17
ln -fs data/config.ini config.ini
18
18
19
19
SINUSBOT=" ./sinusbot"
20
- YTDL=" youtube-dl "
20
+ YTDL=" yt-dlp "
21
21
22
- echo " Updating youtube-dl ..."
22
+ echo " Updating yt-dlp ..."
23
23
$YTDL --restrict-filename -U
24
24
$YTDL --version
25
25
@@ -65,7 +65,7 @@ if [[ -v UID ]] || [[ -v GID ]]; then
65
65
YTDL=" $SETPRIV $YTDL "
66
66
fi
67
67
68
- echo " Clearing youtube-dl cache..."
68
+ echo " Clearing yt-dlp cache..."
69
69
$YTDL --rm-cache-dir
70
70
71
71
echo " Starting SinusBot..."
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- SINUSBOT_VERSION=" 1.0.0-beta.16-ba60e37 "
5
+ SINUSBOT_VERSION=" 1.0.2-amd64 "
6
6
7
7
case " $1 " in
8
8
@@ -52,12 +52,12 @@ Instances = 2
52
52
EOT
53
53
echo " Successfully installed Text-to-Speech"
54
54
;;
55
- " youtube-dl " )
56
- echo " Downloading youtube-dl ..."
57
- curl -s -L -o /usr/local/bin/youtube-dl https://yt-dl.org/downloads/ latest/youtube-dl
58
- chmod 755 /usr/local/bin/youtube-dl
59
- echo ' YoutubeDLPath = "/usr/local/bin/youtube-dl "' >> config.ini.configured
60
- echo " Successfully installed youtube-dl "
55
+ " yt-dlp " )
56
+ echo " Downloading yt-dlp ..."
57
+ curl -s -L -o /usr/local/bin/yt-dlp https://github.com/ yt-dlp/yt-dlp/releases/ latest/download/yt-dlp
58
+ chmod 755 /usr/local/bin/yt-dlp
59
+ echo ' YoutubeDLPath = "/usr/local/bin/yt-dlp "' >> config.ini.configured
60
+ echo " Successfully installed yt-dlp "
61
61
;;
62
62
" teamspeak" )
63
63
echo " Installing TeamSpeak Client..."
You can’t perform that action at this time.
0 commit comments