Skip to content

v17.0.13+11

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 13:32
· 0 commits to main since this release
34e814b

MetricsHub JRE Builder

This project uses the JLink tool to produce two separate JREs: one specifically designed for Windows and another for Linux. The Windows JRE will be integrated into the MetricsHub Windows distribution, while the Linux JRE is to be integrated into MetricsHub RHEL, Debian, and Docker distributions.

Structure

  • Dockerfile: Builds the MetricsHub JRE Docker Image, which is used as based image for MetricsHub.
  • modules.txt: Lists all JRE modules required to run MetricsHub.

Usage with Maven

To integrate the MetricsHub Windows JRE into the MetricsHub Windows distribution, add the following dependency in the metricshub-windows module:

	<dependency>
		<groupId>org.sentrysoftware</groupId>
		<artifactId>metricshub-jre-windows</artifactId>
		<version>17.0.13_11</version>
		<type>zip</type>
	</dependency>

To integrate the MetricsHub Linux JRE into the MetricsHub Linux distributions (Debian and RHEL), add the following dependency in the metricshub-debian and metricshub-rhel modules:

	<dependency>
		<groupId>org.sentrysoftware</groupId>
		<artifactId>metricshub-jre-linux</artifactId>
		<version>17.0.13_11</version>
		<type>zip</type>
	</dependency>

Make sure to unzip the content of the artifact in a dedicated build directory and provide this directory content to JPackage as a runtime image:

jpackage --runtime-image jre_directory $other_jpackage_args

Usage with Docker

To use the MetricsHub Linux JRE as base image in Docker, add the following FROM instruction to the Dockerfile:

FROM ghcr.io/sentrysoftware/metricshub-jre-builder:17.0.13_11