Documentation 'Using a multi-stage Docker build' with Gradle needs updating #24599
Labels
area/gradle
Gradle
area/housekeeping
Issue type for generalized tasks not related to bugs or enhancements
Description
We are building a multistage docker according to this ('Sample Dockerfile for building with Gradle') guide here https://quarkus.io/guides/building-native-image#multistage-docker
There are some issues in this guide :
What are we copying here?
Should/can we update to java17?
Original image 'ubi-quarkus-native-image' is already run as user 'quarkus', why duplicate?
Gradle is not in PATH so we should do ./gradle
We are already in code folder (workdir) so we can omit the '/code/'
Parameter 'buildNative' is deprecated ('The 'buildNative' task has been deprecated in favor of 'build -Dquarkus.package.type=native''). When we run with the new command it has some problems with missing xargs package.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: