fix(yagpdb): use alpine

This commit is contained in:
darksaid98 committed 2024-12-31 06:02:38 +01:00
1 parent aad63d8c4f
commit d5f8c9fa82
2 files changed
+16 -12

No files matched your search

+9 -3
View File
@@ -22,14 +22,20 @@
# SOFTWARE.
#
# Switch to the container's working directory
cd /home/container || exit 1
# Wait for the container to fully initialize
sleep 1
# Default the TZ environment variable to UTC.
TZ=${TZ:-UTC}
export TZ
# Switch to the container's working directory
cd /home/container || exit 1
# Set environment variable that holds the Internal Docker IP
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Add custom binary
export PATH=$PATH:/root/.local/bin
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell