File tree 5 files changed +8
-7
lines changed
5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM sinusbot/docker:1.0.2-amd64- discord
1
+ FROM sinusbot/docker:1.0.2-discord
2
2
3
3
LABEL description="SinusBot - TeamSpeak 3 and Discord music bot."
4
- LABEL version="1.0.2-amd64 "
4
+ LABEL version="1.0.2"
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.2-amd64 "
4
+ LABEL version="1.0.2"
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 @@ -18,6 +18,7 @@ case "$1" in
18
18
;;
19
19
" text-to-speech" )
20
20
echo " Installing Text-to-Speech..."
21
+ mkdir -p tts
21
22
cd tts
22
23
mkdir tmp
23
24
cd tmp
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ read -p "Build images? [Y/n] " -n 1 -r
50
50
echo
51
51
if [[ $REPLY =~ ^([Yy]| ) ]] || [[ -z $REPLY ]]; then
52
52
docker pull debian:buster-slim
53
- docker build -t " $IMAGE " :discord discord
53
+ docker build --platform linux/amd64 - t " $IMAGE " :discord discord
54
54
docker tag " $IMAGE " :discord " $IMAGE " :" $VERSION " -discord
55
- docker build -t " $IMAGE " :latest .
55
+ docker build --platform linux/amd64 - t " $IMAGE " :latest .
56
56
docker tag " $IMAGE " :latest " $IMAGE " :" $VERSION "
57
57
58
58
read -p " Push the builds to docker? (requires docker login) [Y/n] " -n 1 -r
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ read -p "Build images? [Y/n] " -n 1 -r
50
50
echo
51
51
if [[ $REPLY =~ ^([Yy]| ) ]] || [[ -z $REPLY ]]; then
52
52
docker pull debian:buster-slim
53
- docker build -t " $IMAGE " :" $VERSION " -discord discord
54
- docker build -t " $IMAGE " :" $VERSION " .
53
+ docker build --platform linux/amd64 - t " $IMAGE " :" $VERSION " -discord discord
54
+ docker build --platform linux/amd64 - t " $IMAGE " :" $VERSION " .
55
55
56
56
read -p " Push the builds to docker? (requires docker login) [Y/n] " -n 1 -r
57
57
echo
You can’t perform that action at this time.
0 commit comments