Don't use the latest or dev tag, a best practice is to use fixed versions.
Use this image to run Spring Boot application in Openshift. You only have to add a .jar file to /app/app.jar
For developing use the dev-x tags. It runs the command gradlew bootrun in /app