bacanhim / TS3AudioBot

Teamspeak 3 Audio Bot for Raspberry Pi
https://hub.docker.com/r/bacanhim/ts3audiobot
2 stars 0 forks source link

standard_init_linux.go:219: exec user process caused: exec format error #5

Open nymtesx opened 9 months ago

nymtesx commented 9 months ago

I get the following warning when executing [docker build --rm -f "Dockerfile" -t ts3audiobot:latest "."]

...
...
...
...
...
Step 11/16 : WORKDIR /TS3AudioBot
 ---> Using cache
 ---> c52d89298550
Step 12/16 : COPY data/ /TS3AudioBot/
 ---> 22f5bb18a7e5
Step 13/16 : RUN apt update &&     apt install wget libopus-dev ffmpeg python3-pip -y &&     pip install --upgrade yt_dlp &&    ln /usr/local/bin/yt-dlp /usr/local/bin/youtube-dl &&    wget https://splamy.de/api/nightly/projects/ts3ab/master_linux_arm64/download &&     tar -xf download && rm -r download &&     chown -R root:root /TS3AudioBot &&    chmod +x start.sh
 ---> [Warning] The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/arm/v6) and no specific platform was requested
 ---> Running in b5a02fe12023
standard_init_linux.go:219: exec user process caused: exec format error
The command '/bin/sh -c apt update &&     apt install wget libopus-dev ffmpeg python3-pip -y &&     pip install --upgrade yt_dlp &&    ln /usr/local/bin/yt-dlp /usr/local/bin/youtube-dl &&    wget https://splamy.de/api/nightly/projects/ts3ab/master_linux_arm64/download &&     tar -xf download && rm -r download &&     chown -R root:root /TS3AudioBot &&    chmod +x start.sh' returned a non-zero code: 1
root@raspberrypi:/home/teamspeakbot/TS3AudioBot# docker build --rm -f "Dockerfile" -t ts3audiobot:latest "."

The image's platform (linux/arm64/v8) does not match the detected host platform (linux/arm/v6), is there any fix to this?

bacanhim commented 8 months ago

Hi, im not really sure about that, are you using a rpi3 or rpi5?, the build was done by rpi 4 back then. I haven't used this in a while.