This example builds a rock image for non-modular Java application using an application image provided by Beryx Runtime plugin.
Install the plugin if needed:
(cd ../../../ && ./gradlew publishToMavenLocal)
Build the rock. The rockcraft.yaml will be found in build/rockcraft.yaml
and the rock file under build/rock
:
./gradlew build-rock -i
Push the rock to the local Docker daemon:
./gradlew push-rock -i
docker run app exec /image/bin/app