eiffel-community / eiffel-remrem-generate

Apache License 2.0
8 stars 70 forks source link

Dockerfile still references JDK 8 even though the binary is built for JDK 17 #213

Closed magnusbaeck closed 1 year ago

magnusbaeck commented 1 year ago

Description

The summary line really says it all; the dockerfile still references a JDK 8 base image but the binary that's built and published to Jitpack is built for JDK 17, predictably resulting in the following if you attempt to run the resulting image:

Mon, Jun 26 2023 1:40:35 pm | Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ericsson/eiffel/remrem/generate/App has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Motivation

REMReM Generate should support Docker-based deployments.

Exemplification

N/A

Benefits

Usable Docker image.

Possible Drawbacks

None.