diff --git a/Dockerfile b/Dockerfile index 84111cc7..b1cac712 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11 +FROM eclipse-temurin:17-jdk-focal RUN apt-get update RUN apt-get install ssmtp -y RUN mkdir /app diff --git a/Dockerfile.build b/Dockerfile.build index b07844d4..d3662a5b 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,4 +1,4 @@ -FROM openjdk:11 +FROM eclipse-temurin:17-jdk-focal WORKDIR /app COPY src.tar /app/ RUN tar -zxf /app/src.tar diff --git a/app/com/coleji/neptune/Core/Boot/ServerBootLoader.scala b/app/com/coleji/neptune/Core/Boot/ServerBootLoader.scala index 10267f06..3cef4f74 100644 --- a/app/com/coleji/neptune/Core/Boot/ServerBootLoader.scala +++ b/app/com/coleji/neptune/Core/Boot/ServerBootLoader.scala @@ -43,6 +43,8 @@ object ServerBootLoader { if (PermissionsAuthority.isBooted) PermissionsAuthority.PA else { println(" *************** BOOTING UP SERVER *************** ") + println(System.getProperty("java.vendor") + " - " + System.getProperty("java.version")) + println(System.getProperty("java.home")) // Get server instance properties val paramFile = new PropertiesWrapper("conf/private/server-properties", requiredProperties)