简体   繁体   中英

Quarkus: dockerfile.jvm vs dockerfile.native

can you explain to me what is the difference between a Dockerfile.jvm and Dockerfile.native image? I know that each one has its purpose based image, but I have not understood the utility of each and in what context I use them?

Thank you:)

The name is self explicit: you can build a Quarkus application either as a standard Java application or as a native executable using GraalVM (and -Dnative ).

If you do the former, then use Dockerfile.jvm , if you do the latter, use Dockerfile.native .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM