I have an embedded-jetty based spring boot war file and I am able to run it in my windows OS with the below command and it works fine.
java -jar my_app.war
Am new to docker, I want to run my my_app.war in a docker container.
Now to create an image of my_app.war, do I first need to include a linux image dependency and then add openjdk8 image ?
or
I can directly create an image for my_app.war by using openjdk8 image dependency alone ?