Build mumble from source

This commit is contained in:
QuintenQVD0
2024-07-17 20:29:45 +02:00
parent 681ffc488d
commit f888177425
3 changed files with 150 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/ash
#!/bin/bash
cd /home/container
# Make internal Docker IP address available to processes.
@@ -6,11 +6,12 @@ INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Print the Muble server version
mumble-server --version
echo -e "Mumble release version:"
cat /usr/local/share/mumble/latest_tag.txt
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}
eval ${MODIFIED_STARTUP}