Files
yolks/rust/entrypoint.sh
devbeni 4daf651145
Some checks failed
build wine / yolks:wine_10 (push) Successful in 5m13s
build wine / yolks:wine_8 (push) Successful in 5m12s
build wine / yolks:wine_9 (push) Successful in 5m10s
build wine / yolks:wine_7 (push) Successful in 5m18s
build wine / yolks:wine_devel (push) Successful in 5m14s
build voice / yolks:voice_mumble (push) Failing after 16s
build voice / yolks:voice_teaspeak (push) Successful in 1m27s
build steamcmd / steamcmd:debian (push) Successful in 1m47s
build steamcmd / steamcmd:dotnet (push) Successful in 3m22s
build wine / yolks:wine_staging (push) Successful in 3m45s
build steamcmd / steamcmd:ubuntu (push) Failing after 22s
build steamcmd / steamcmd:sniper (push) Successful in 1m52s
build steamcmd / steamcmd:proton (push) Successful in 4m11s
build steamcmd / steamcmd:proton_8 (push) Successful in 3m51s
build redis / yolks:redis_5 (push) Successful in 1m36s
build rust / yolks:rust_1.56 (push) Successful in 3m28s
build redis / yolks:redis_6 (push) Successful in 57s
build redis / yolks:redis_7 (push) Successful in 55s
build python / yolks:python_2.7 (push) Failing after 21s
build rust / yolks:rust_1.60 (push) Successful in 3m25s
build redis / yolks:redis_8 (push) Successful in 57s
build rust / yolks:rust_latest (push) Successful in 6m31s
build python / yolks:python_3.10 (push) Successful in 5m27s
build python / yolks:python_3.11 (push) Successful in 5m20s
build python / yolks:python_3.12 (push) Successful in 5m13s
build wine / yolks:wine_latest (push) Successful in 14m48s
build postgres / yolks:postgres_10 (push) Successful in 34s
build postgres / yolks:postgres_11 (push) Successful in 36s
build postgres / yolks:postgres_12 (push) Successful in 35s
build python / yolks:python_3.13 (push) Successful in 4m33s
build postgres / yolks:postgres_13 (push) Successful in 37s
build postgres / yolks:postgres_14 (push) Successful in 38s
build postgres / yolks:postgres_16 (push) Successful in 35s
build postgres / yolks:postgres_9 (push) Successful in 32s
build python / yolks:python_3.9 (push) Successful in 4m44s
build python / yolks:python_3.7 (push) Successful in 6m55s
build python / yolks:python_3.8 (push) Successful in 6m53s
build nodejs / yolks:nodejs_12 (push) Successful in 6m12s
build nodejs / yolks:nodejs_14 (push) Successful in 6m18s
build nodejs / yolks:nodejs_16 (push) Successful in 6m31s
build nodejs / yolks:nodejs_17 (push) Successful in 5m51s
build nodejs / yolks:nodejs_18 (push) Successful in 6m53s
build nodejs / yolks:nodejs_19 (push) Successful in 6m28s
build nodejs / yolks:nodejs_20 (push) Successful in 6m25s
build nodejs / yolks:nodejs_21 (push) Successful in 6m34s
build mongodb / yolks:mongodb_5 (push) Successful in 1m6s
build nodejs / yolks:nodejs_22 (push) Successful in 6m19s
build mongodb / yolks:mongodb_6 (push) Successful in 1m11s
build nodejs / yolks:nodejs_23 (push) Successful in 6m30s
build mongodb / yolks:mongodb_7 (push) Successful in 1m18s
build mariadb / yolks:mariadb_10.3 (push) Successful in 1m4s
build mariadb / yolks:mariadb_10.4 (push) Successful in 1m6s
build mongodb / yolks:mongodb_8 (push) Successful in 1m18s
build nodejs / yolks:nodejs_24 (push) Successful in 6m20s
build mariadb / yolks:mariadb_10.7 (push) Successful in 1m4s
build mariadb / yolks:mariadb_10.5 (push) Successful in 1m12s
build mariadb / yolks:mariadb_10.6 (push) Successful in 1m10s
build mariadb / yolks:mariadb_11.2 (push) Successful in 1m17s
build mariadb / yolks:mariadb_11.3 (push) Successful in 1m10s
build mariadb / yolks:mariadb_11.4 (push) Successful in 1m17s
build mariadb / yolks:mariadb_11.5 (push) Successful in 1m16s
build mono / yolks:mono_latest (push) Successful in 7m56s
build mariadb / yolks:mariadb_11.6 (push) Successful in 1m15s
build java / yolks:java_11 (push) Successful in 1m44s
build java / yolks:java_17 (push) Successful in 1m37s
build java / yolks:java_21 (push) Successful in 1m34s
build java / yolks:java_16 (push) Successful in 2m56s
build installers / installers:{{ matrix.tag }} (alpine) (push) Successful in 27s
build java / yolks:java_19 (push) Successful in 2m49s
build java / yolks:java_8 (push) Successful in 1m30s
build java / yolks:java_22 (push) Successful in 1m47s
build go / yolks:go_1.14 (push) Successful in 24s
build go / yolks:go_1.15 (push) Successful in 25s
build go / yolks:go_1.16 (push) Successful in 23s
build go / yolks:go_1.17 (push) Successful in 23s
build go / yolks:go_1.18 (push) Successful in 24s
build go / yolks:go_1.19 (push) Successful in 24s
build go / yolks:go_1.20 (push) Successful in 23s
build go / yolks:go_1.21 (push) Successful in 22s
build go / yolks:go_1.22 (push) Successful in 22s
build go / yolks:go_1.23 (push) Successful in 24s
build installers / installers:{{ matrix.tag }} (debian) (push) Successful in 1m46s
build installers / installers:{{ matrix.tag }} (ubuntu) (push) Successful in 1m57s
build games / games_AMD64:arma3 (push) Successful in 48s
build games / games_AMD64:dayz (push) Successful in 1m2s
build games / games_AMD64:rust (push) Successful in 56s
build games / games_AMD64:mohaa (push) Successful in 1m26s
build games / games_AMD64:samp (push) Successful in 1m2s
build games / games_AMD64:source (push) Successful in 1m33s
build games / games_AMD64:valheim (push) Successful in 1m41s
build games / games_AMD64:thebattleforwesnoth (push) Successful in 2m17s
build erlang / yolks:erlang_22 (push) Successful in 28s
build games / games_AMD64:altv (push) Successful in 4m14s
build erlang / yolks:erlang_23 (push) Successful in 26s
build erlang / yolks:erlang_24 (push) Successful in 30s
build erlang / yolks:erlang_25 (push) Successful in 30s
build erlang / yolks:erlang_26 (push) Successful in 29s
build games / games_All:minetest (push) Successful in 5m3s
build games / games_All:mta (push) Successful in 5m8s
build elixir / yolks:elixir_1.13 (push) Successful in 4m33s
build elixir / yolks:elixir_1.12 (push) Successful in 4m52s
build elixir / yolks:elixir_1.14 (push) Successful in 5m30s
build elixir / yolks:elixir_1.15 (push) Successful in 4m36s
build dotnet / yolks:dotnet_2.1 (push) Successful in 2m28s
build dotnet / yolks:dotnet_3.1 (push) Successful in 3m3s
build dotnet / yolks:dotnet_5 (push) Successful in 2m40s
build elixir / yolks:elixir_latest (push) Successful in 5m19s
build dart / yolks:dart_2.17 (push) Successful in 1m5s
build dotnet / yolks:dotnet_6 (push) Successful in 2m52s
build dotnet / yolks:dotnet_7 (push) Successful in 3m9s
build dotnet / yolks:dotnet_8 (push) Successful in 2m55s
build dart / yolks:dart_2.18 (push) Successful in 1m3s
build dart / yolks:dart_2.19 (push) Successful in 1m3s
build dotnet / yolks:dotnet_9 (push) Successful in 2m43s
build cassandra / yolks:cassandra_java11_python3 (push) Successful in 27s
build cassandra / yolks:cassandra_java8_python2 (push) Successful in 27s
build dart / yolks:dart_stable (push) Successful in 1m33s
build dart / yolks:dart_3.3 (push) Successful in 2m21s
build bot / yolks:bot_parkertron (push) Failing after 21s
build bot / yolks:bot_red (push) Failing after 20s
build bot / yolks:bot_sinusbot (push) Failing after 20s
build oses / yolks:alpine (push) Failing after 19s
build oses / yolks:debian (push) Failing after 18s
build oses / yolks:ubuntu (push) Failing after 18s
build apps / yolks:apps_uptimekuma (push) Failing after 18s
build bot / yolks:bot_bastion (push) Successful in 5m6s
build bun / yolks:bun_canary (push) Successful in 7m42s
build bun / yolks:bun_latest (push) Successful in 7m41s
build box64 / yolks:box64 (push) Successful in 7m42s
Update rust/entrypoint.sh
2025-09-15 18:36:57 +02:00

25 lines
643 B
Bash

#!/bin/bash
cd /home/container
if [ -f "$HOME/.cargo/env" ]; then
source "$HOME/.cargo/env"
fi
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Check if cargo is available
if command -v cargo >/dev/null 2>&1; then
cargo --version
else
echo "Cargo is not available in PATH. Adding cargo to PATH..."
export PATH="$HOME/.cargo/bin:$PATH"
cargo --version || echo "Failed to load cargo"
fi
# 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}