Skip to content

Commit

Permalink
Change java infos color
Browse files Browse the repository at this point in the history
Added java version description
  • Loading branch information
zGumeloBr committed May 7, 2024
1 parent bfcd667 commit 18279ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion java/graalvm/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
3 changes: 2 additions & 1 deletion java/zulu/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 18279ae

Please sign in to comment.