Problems:
1. Using Gradle to build and run the application
gradlew build
gradlew run
2. 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:base
Now build the image with the following command:
pack build weekly-challenges-app
Run the following command to run the container with the created image and access it with bash.
docker run -it weekly-challenges-app bash
In the container, run the following command to start the application:
java com.vmware.bhenao.ProblemSolver