From 18279ae4c82f1cc3c22d2f41155bada914628c95 Mon Sep 17 00:00:00 2001 From: zGumeloBr Date: Tue, 7 May 2024 00:57:12 -0300 Subject: [PATCH] Change java infos color Added java version description --- java/graalvm/entrypoint.sh | 3 ++- java/zulu/entrypoint.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java/graalvm/entrypoint.sh b/java/graalvm/entrypoint.sh index 85a92d9..a4d65a4 100644 --- a/java/graalvm/entrypoint.sh +++ b/java/graalvm/entrypoint.sh @@ -3,7 +3,8 @@ cd /home/container export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` +java -version MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo -e "\033[0;32mSTARTUP: ${MODIFIED_STARTUP}\033[0m" +echo -e "\033[0;36mSTARTUP: ${MODIFIED_STARTUP}\033[0m" eval ${MODIFIED_STARTUP} diff --git a/java/zulu/entrypoint.sh b/java/zulu/entrypoint.sh index 85a92d9..a054adc 100644 --- a/java/zulu/entrypoint.sh +++ b/java/zulu/entrypoint.sh @@ -3,7 +3,8 @@ cd /home/container export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` +java -version MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` -echo -e "\033[0;32mSTARTUP: ${MODIFIED_STARTUP}\033[0m" +echo -e "\036[0;32mSTARTUP: ${MODIFIED_STARTUP}\033[0m" eval ${MODIFIED_STARTUP}