Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Settings.
ARG JAVA_VERSION=11
ARG USER_ID=3001
ARG USER_NAME=lsss
ARG SOURCE_DIR=/$USER_NAME/source

# Maven stage.
FROM maven:3-openjdk-11-slim as maven
FROM maven:3-eclipse-temurin-$JAVA_VERSION AS maven
ARG USER_ID
ARG USER_NAME
ARG SOURCE_DIR
Expand Down Expand Up @@ -40,7 +41,7 @@ USER $USER_NAME
RUN mvn package -Pjar -DskipTests=true

# Switch to Normal JRE Stage.
FROM eclipse-temurin:11-jre-noble
FROM eclipse-temurin:$JAVA_VERSION
ARG USER_ID
ARG USER_NAME
ARG SOURCE_DIR
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>edu.tamu</groupId>
<artifactId>status-system</artifactId>
<version>1.5.3-RC1</version>
<version>1.5.4-SNAPSHOT</version>

<name>Library-Service-Status-System</name>

Expand All @@ -14,7 +14,7 @@
<parent>
<groupId>edu.tamu.weaver</groupId>
<artifactId>webservice-parent</artifactId>
<version>2.1.1-RC15</version>
<version>2.2.0</version>
</parent>

<properties>
Expand Down
Loading