-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from usdot-jpo-ode/release/2025-q1
Merge Release/2025 q1 into master
- Loading branch information
Showing
4 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Build container | ||
FROM maven:3.8-eclipse-temurin-21-alpine as builder | ||
MAINTAINER [email protected] | ||
FROM maven:3.8-eclipse-temurin-21-alpine AS builder | ||
LABEL maintainer="[email protected]" | ||
|
||
WORKDIR /home | ||
|
||
|
@@ -14,8 +14,10 @@ RUN mvn clean package -DskipTests | |
FROM eclipse-temurin:21-jre-alpine | ||
|
||
WORKDIR /home | ||
COPY --from=builder /home/target/jpo-sdw-depositor-1.8.0-SNAPSHOT.jar /home | ||
# Copy the jar file from the builder image to the new image | ||
# since we run mvn clean package, there should only be one jar file in the target directory, and we can safely copy it with a wildcard | ||
COPY --from=builder /home/target/jpo-sdw-depositor-*.jar /home/jpo-sdw-depositor.jar | ||
|
||
ENTRYPOINT ["java", \ | ||
"-jar", \ | ||
"/home/jpo-sdw-depositor-1.8.0-SNAPSHOT.jar"] | ||
"/home/jpo-sdw-depositor.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters