Skip to content

Commit 6033b16

Browse files
committed
[java-springboot] Use registry.access.redhat.com/ubi9/openjdk-17 image
Signed-off-by: Armel Soro <asoro@redhat.com>
1 parent 5cda5e5 commit 6033b16

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
- Spring
1010
projectType: springboot
1111
language: Java
12-
version: 1.2.0
12+
version: 1.3.0
1313
globalMemoryLimit: 2674Mi
1414
starterProjects:
1515
- name: springbootproject
@@ -19,7 +19,7 @@ starterProjects:
1919
components:
2020
- name: tools
2121
container:
22-
image: registry.access.redhat.com/ubi8/openjdk-11:latest
22+
image: registry.access.redhat.com/ubi9/openjdk-17:latest
2323
command: ["tail", "-f", "/dev/null"]
2424
memoryLimit: 768Mi
2525
mountSources: true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
- Spring
1010
projectType: springboot
1111
language: Java
12-
version: 2.0.0
12+
version: 2.1.0
1313
globalMemoryLimit: 2674Mi
1414
starterProjects:
1515
- name: springbootproject
@@ -19,7 +19,7 @@ starterProjects:
1919
components:
2020
- name: tools
2121
container:
22-
image: registry.access.redhat.com/ubi8/openjdk-11:latest
22+
image: registry.access.redhat.com/ubi9/openjdk-17:latest
2323
command: ['tail', '-f', '/dev/null']
2424
memoryLimit: 768Mi
2525
mountSources: true

stacks/java-springboot/2.0.0/docker/Dockerfile renamed to stacks/java-springboot/2.1.0/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN mvn dependency:go-offline
2020
COPY src src
2121
RUN mvn package -Dmaven.test.skip=true
2222

23-
FROM openjdk:11-jdk
23+
FROM registry.access.redhat.com/ubi9/openjdk-17-runtime:latest
2424
COPY --from=0 /build/target/demo-0.0.1-SNAPSHOT.jar /app/target/demo-0.0.1-SNAPSHOT.jar
2525

2626
EXPOSE 8081
File renamed without changes.

stacks/java-springboot/stack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ description: Spring Boot using Java
33
displayName: Spring Boot
44
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/spring.svg
55
versions:
6-
- version: 1.2.0
6+
- version: 1.3.0
77
default: true # should have one and only one default version
8-
- version: 2.0.0
8+
- version: 2.1.0

0 commit comments

Comments
 (0)