mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
update to OpenJDK21
This commit is contained in:
parent
631fcba8a3
commit
fde87d7492
3 changed files with 13 additions and 2 deletions
2
.github/workflows/maven-build.yml
vendored
2
.github/workflows/maven-build.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '17' ]
|
||||
java: [ '21' ]
|
||||
steps:
|
||||
- name: checkout Git repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
2
.github/workflows/run-jmeter-test.yml
vendored
2
.github/workflows/run-jmeter-test.yml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '17' ]
|
||||
java: [ '21' ]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK ${{matrix.java}}
|
||||
|
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY .mvn/ .mvn
|
||||
COPY mvnw pom.xml ./
|
||||
RUN ./mvnw dependency:resolve
|
||||
|
||||
COPY src ./src
|
||||
|
||||
CMD ["./mvnw", "spring-boot:run"]
|
Loading…
Reference in a new issue