Skip to content

Commit

Permalink
Update Dockerfile, pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
mwodahl committed Jan 3, 2024
1 parent fe6f241 commit 673eb9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM maven:3.5.4-jdk-8-alpine as builder
FROM maven:3.8-eclipse-temurin-21-alpine as builder
MAINTAINER [email protected]

WORKDIR /home
Expand All @@ -7,7 +7,7 @@ COPY ./src ./src

RUN mvn clean package assembly:single

FROM eclipse-temurin:11-jre-alpine
FROM eclipse-temurin:21-jre-alpine

COPY --from=builder /home/src/main/resources/logback.xml /home
COPY --from=builder /home/target/jpo-aws-depositor-jar-with-dependencies.jar /home
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<packaging>jar</packaging>
<name>JPO AWS Depositor</name>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -81,7 +81,7 @@
<!-- Build an executable JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<version>3.5.0</version>
<configuration>
<archive>
<manifest>
Expand Down

0 comments on commit 673eb9d

Please sign in to comment.