You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An optimized build of jre can be created using jlink and then we can copy the output into an docker image.
Let us create a new Dockerfile named Optimized.Dockerfile while keeping the old one and add instructions into the optimized version for a minimal build.
When trying out an image with another name than Dockerfile we must tell docker build what filename to use.
docker build -f Optimized.Dockerfile .
The text was updated successfully, but these errors were encountered:
An optimized build of jre can be created using jlink and then we can copy the output into an docker image.
Let us create a new Dockerfile named Optimized.Dockerfile while keeping the old one and add instructions into the optimized version for a minimal build.
When trying out an image with another name than Dockerfile we must tell docker build what filename to use.
docker build -f Optimized.Dockerfile .
The text was updated successfully, but these errors were encountered: