[source, bash, subs=attributes+, role="primary asciidoc-tabs-sync-cli"]
.CLI
----
ifdef::build-additional-parameters[]
quarkus build --native -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
quarkus build --native -Dquarkus.native.container-build=true
endif::[]
----
ifndef::devtools-no-maven[]
ifdef::devtools-wrapped[+]
[source, bash, subs=attributes+, role="secondary asciidoc-tabs-sync-maven"]
.Maven
----
ifdef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true
endif::[]
----
endif::[]
ifndef::devtools-no-gradle[]
ifdef::devtools-wrapped[+]
[source, bash, subs=attributes+, role="secondary asciidoc-tabs-sync-gradle"]
.Gradle
----
ifdef::build-additional-parameters[]
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true
endif::[]
----
endif::[]
[source, bash, subs=attributes+, role="primary asciidoc-tabs-sync-cli"]
.CLI
----
ifdef::build-additional-parameters[]
quarkus build --native --no-tests -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
quarkus build --native --no-tests -Dquarkus.native.container-build=true
endif::[]
# The --no-tests flag is required only on Windows and macOS.
----
ifndef::devtools-no-maven[]
ifdef::devtools-wrapped[+]
[source, bash, subs=attributes+, role="secondary asciidoc-tabs-sync-maven"]
.Maven
----
ifdef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./mvnw package -Dnative -Dquarkus.native.container-build=true
endif::[]
----
endif::[]
ifndef::devtools-no-gradle[]
ifdef::devtools-wrapped[+]
[source, bash, subs=attributes+, role="secondary asciidoc-tabs-sync-gradle"]
.Gradle
----
ifdef::build-additional-parameters[]
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true {build-additional-parameters}
endif::[]
ifndef::build-additional-parameters[]
./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true
endif::[]
----
endif::[]
Improve doc for containerized native build
Improve doc for containerized native build

On macOS and Windows the following command fails:
`quarkus build --native -Dquarkus.native.container-build=true`.
Reason is that the Quarkus CLI runs integration tests against binary built in Linux container.
The produced binary is ELF not runnable under another OS.

Signed-off-by: Matej Vasek <641136dff7ce0a7463dc13442864dad9b6842739@redhat.com>
