Skip to content

Commit

Permalink
Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Oct 31, 2023
1 parent f4b1f41 commit 947a97e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM maven:3-eclipse-temurin-17 as builder
FROM maven:3-eclipse-temurin-21 AS builder

WORKDIR /usr/src/bot
COPY src src
COPY pom.xml pom.xml
RUN mvn clean package

FROM eclipse-temurin:17-jre
FROM eclipse-temurin:21-jre

ENV RUN_IN_DOCKER=true
ENV TZ=Europe/Berlin
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 @@
<parent>
<groupId>org.fuchss</groupId>
<artifactId>maven-parent</artifactId>
<version>0.11.0</version>
<version>0.21.0</version>
</parent>

<groupId>org.fuchss.matrix</groupId>
Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.fuchss</groupId>
<artifactId>matrix-bot-base</artifactId>
<version>0.4.0</version>
<version>0.7.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down

0 comments on commit 947a97e

Please sign in to comment.