Merge pull request #292 from srnyx/patch-1

Apply #262 to Python entrypoint
This commit is contained in:
Michael (Parker) Parker
2025-08-04 15:00:27 -04:00
committed by GitHub
9 changed files with 24 additions and 20 deletions

View File

@@ -34,7 +34,7 @@ export INTERNAL_IP
cd /home/container || exit 1
# Print Java version
printf "\033[1m\033[33mcontainer@pelican~ \033[0mjava -version\n"
printf "\033[1m\033[33mcontainer~ \033[0mjava -version\n"
java -version
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
@@ -43,7 +43,7 @@ java -version
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g')
# Display the command we're running in the output, and then execute it with eval
printf "\033[1m\033[33mcontainer@pelican~ \033[0m"
printf "\033[1m\033[33mcontainer~ \033[0m"
echo "$PARSED"
# shellcheck disable=SC2086
eval "$PARSED"