Skip to content

Commit

Permalink
feat: up to jdk 21
Browse files Browse the repository at this point in the history
  • Loading branch information
nekolr committed Dec 28, 2023
1 parent 061cade commit 5d7d7e3
Show file tree
Hide file tree
Showing 2 changed files with 6 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.8.5-openjdk-17-slim AS build
FROM maven:3.9.6-eclipse-temurin-21-alpine AS build

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand All @@ -10,7 +10,7 @@ RUN apt-get update \
RUN mvn clean package


FROM openjdk:17-slim
FROM openjdk:21-slim

ENV PEASHOOTER_USERNAME=admin \
PEASHOOTER_PASSWORD=admin \
Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.1</version>
</parent>

<properties>
<java.version>17</java.version>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<rome.version>2.1.0</rome.version>
<jjwt.version>0.12.3</jjwt.version>
<fastjson.version>2.0.42</fastjson.version>
<fastjson.version>2.0.44</fastjson.version>
<jodd-http.version>6.3.0</jodd-http.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
</properties>
Expand Down Expand Up @@ -231,6 +231,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>add-resource</id>
Expand Down

0 comments on commit 5d7d7e3

Please sign in to comment.