it-at-m / refarch

Collection of different ready to use reference architecture (RefArch) components developed by it@M.
https://opensource.muenchen.de/in-house-development.html
MIT License
2 stars 2 forks source link

[Bug] refarch-gateway:1.1.0 image - no main manifest attribute #141

Closed eidottermihi closed 1 month ago

eidottermihi commented 1 month ago

Bug description

Running the latest refarch-gateway:1.1.0 docker image, the java application does not start, exiting with "no main manifest attribute, in /deployments/spring-boot-application.jar"

$ docker run ghcr.io/it-at-m/refarch/refarch-gateway:1.1.0
Unable to find image 'ghcr.io/it-at-m/refarch/refarch-gateway:1.1.0' locally
1.1.0: Pulling from it-at-m/refarch/refarch-gateway
Digest: sha256:a1313ada8f2a5cfc73fe2adb2bd11f0db5717f3a07dc0482b6ad7d00a9509bb1
Status: Downloaded newer image for ghcr.io/it-at-m/refarch/refarch-gateway:1.1.0
INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/spring-boot-application.jar
INFO running in /deployments
no main manifest attribute, in /deployments/spring-boot-application.jar

Expected behaviour

Java / Spring Boot application should start.

Steps for reproduction

docker run ghcr.io/it-at-m/refarch/refarch-gateway:1.1.0

Affected version

1.1.0

Affected component

refarch-gateway

Last working version (optional)

1.0.0

Operating system

No response

Browser

No response

Relevant log output (optional)

No response

Screenshots (optional)

No response

Additional context (optional)

No response

No duplicate

Code of Conduct

welcome[bot] commented 1 month ago

Greetings from Munich! 🥨 Thank you very much for participating in our project by opening this issue! ❤ We will take a look at your issue as soon as possible! 👀

simonhir commented 1 month ago

Solved with image refarch-gateway:1.1.1