Problems:
1. Using Gradle to build and run the application
gradlew buildgradlew run2. Using Paketo Buildpacks to build and run the application using OCI Images
First, you have to select the default build, in this case is paketobuildpacks/builder:base
pack config default-builder paketobuildpacks/builder:baseNow build the image with the following command:
pack build weekly-challenges-appRun the following command to run the container with the created image and access it with bash.
docker run -it weekly-challenges-app bashIn the container, run the following command to start the application:
java com.vmware.bhenao.ProblemSolver