Skip to content

Commit

Permalink
temurin 17 in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
coleji committed Nov 25, 2023
1 parent 8aa4229 commit faac35b
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions app/com/coleji/neptune/Core/Boot/ServerBootLoader.scala
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit faac35b

Please sign in to comment.