Test code for multi-arch container builds.
Go to file
2023-03-02 14:26:42 +01:00
doc Update podman example. 2023-03-02 07:41:32 +01:00
gradle/wrapper first commit 2023-03-01 11:56:36 +01:00
src Fix hostname 2023-03-02 14:26:42 +01:00
.gitignore Display more info and accept / display messages. 2023-03-01 19:43:35 +01:00
build.gradle Display more info and accept / display messages. 2023-03-01 19:43:35 +01:00
Dockerfile Add screenshot. 2023-03-02 07:20:11 +01:00
gradle.properties first commit 2023-03-01 11:56:36 +01:00
gradlew first commit 2023-03-01 11:56:36 +01:00
gradlew.bat first commit 2023-03-01 11:56:36 +01:00
micronaut-cli.yml first commit 2023-03-01 11:56:36 +01:00
README.md Add screenshot. 2023-03-02 07:20:11 +01:00
settings.gradle first commit 2023-03-01 11:56:36 +01:00

Hello Micronaut

Test "hello world" web application (written in the micronaut framework) that displays some information about the architecture it runs on, and allow users to enter some data, that will not persist or be shared across multiple instances.

screenshot

Container

Build container

docker build -t hellomicronaut .

Run container

docker run --name hello1 -p 8080:8080 hellomicronaut

Development

Requires Java JDK version 11+.

Build

./gradlew build

Run

./gradlew run -t

Test with browser

Connect to the container or localhost on the specified port:

http://localhost:8080/