Skip to content

Commit 48ad92a

Browse files
committed
1.0.2-amd64
1 parent edc892a commit 48ad92a

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM sinusbot/docker:1.0.0-beta.16-ba60e37-discord
1+
FROM sinusbot/docker:1.0.2-amd64-discord
22

33
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"
55

66
# Install dependencies and clean up afterwards
77
RUN apt-get update && \

discord/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM debian:buster-slim
22

33
LABEL description="SinusBot - Discord only image"
4-
LABEL version="1.0.0-beta.16-ba60e37"
4+
LABEL version="1.0.2-amd64"
55

66
# Install dependencies and clean up afterwards
77
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 && \
99
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
1010

1111
# Set locale
@@ -22,8 +22,8 @@ RUN chmod 755 install.sh
2222
# Download/Install SinusBot
2323
RUN bash install.sh sinusbot
2424

25-
# Download/Install youtube-dl
26-
RUN bash install.sh youtube-dl
25+
# Download/Install yt-dlp
26+
RUN bash install.sh yt-dlp
2727

2828
# Download/Install Text-to-Speech
2929
RUN bash install.sh text-to-speech

discord/entrypoint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ fi
1717
ln -fs data/config.ini config.ini
1818

1919
SINUSBOT="./sinusbot"
20-
YTDL="youtube-dl"
20+
YTDL="yt-dlp"
2121

22-
echo "Updating youtube-dl..."
22+
echo "Updating yt-dlp..."
2323
$YTDL --restrict-filename -U
2424
$YTDL --version
2525

@@ -65,7 +65,7 @@ if [[ -v UID ]] || [[ -v GID ]]; then
6565
YTDL="$SETPRIV $YTDL"
6666
fi
6767

68-
echo "Clearing youtube-dl cache..."
68+
echo "Clearing yt-dlp cache..."
6969
$YTDL --rm-cache-dir
7070

7171
echo "Starting SinusBot..."

discord/install.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
SINUSBOT_VERSION="1.0.0-beta.16-ba60e37"
5+
SINUSBOT_VERSION="1.0.2-amd64"
66

77
case "$1" in
88

@@ -52,12 +52,12 @@ Instances = 2
5252
EOT
5353
echo "Successfully installed Text-to-Speech"
5454
;;
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"
6161
;;
6262
"teamspeak")
6363
echo "Installing TeamSpeak Client..."

0 commit comments

Comments
 (0)