Skip to content

Commit fa02b90

Browse files
committed
[java-springboot] Use registry.access.redhat.com/ubi9/openjdk-17 image
Signed-off-by: Armel Soro <[email protected]>
1 parent 61a2131 commit fa02b90

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

stacks/java-springboot/1.2.0/devfile.yaml renamed to stacks/java-springboot/1.3.0/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schemaVersion: 2.1.0
22
metadata:
33
name: java-springboot
4-
version: 1.2.0
4+
version: 1.3.0
55
displayName: Spring Boot®
66
description: Spring Boot® using Java
77
tags:
@@ -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/devfile.yaml renamed to stacks/java-springboot/2.1.0/devfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schemaVersion: 2.2.0
22
metadata:
33
name: java-springboot
4-
version: 2.0.0
4+
version: 2.1.0
55
displayName: Spring Boot®
66
description: Spring Boot® using Java
77
tags:
@@ -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

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)