Skip to content

redhat-mw-demos/hello-world-spring-openjdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo hello world app that builds a container image using Red Hat build of OpenJDK (registry.access.redhat.com/ubi9/openjdk-17:1.14).

To build an image, run ./mvnw clean package k8s:build -DskipTests.

To run the image locally, run docker run --rm -it -p 8080:8080 example/hello-world-spring-openjdk:latest

You can then hit the following endpoints:

  • /hello
  • /hello/{name}, where {name} can be anything you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages