anchor.diff:  
   [WARNING]
   ====
  -Before launching our Docker build, we need to update the default `.dockerignore` file as it filters everything except the `target` directory and as we plan to build inside a container we need to be able to copy the `src` directory. So edit your `.dockerignore` and remove or comment its content.
  +Before launching our Docker build, we need to update the default `.dockerignore` file as it filters everything except the `target` directory. As we plan to build inside a container, we need to copy the `src` directory. Thus, edit your `.dockerignore` and update the content.
   ====
   
   [source,bash]
  
positive.code: 
  === Using a multi-stage Docker build
  
  The previous section showed you how to build a native executable using Maven, but implicitly required that the proper GraalVM version be installed on the building machine (be it your local machine or your CI/CD infrastructure).
  
  In cases where the GraalVM requirement cannot be met, you can use Docker to perform the Maven or Gradle build by using a multi-stage Docker build. A multi-stage Docker build is like two Dockerfile files combined in one, the first is used to build the artifact used by the second.
  
  In this guide we will use the first stage to generate the native executable and the second stage to create our runtime image.
  
  Sample Dockerfile for building with Maven:
  [source,dockerfile,subs=attributes+]
  ----
  ## Stage 1 : build with maven builder image with native capabilities
  FROM quay.io/quarkus/centos-quarkus-maven:{graalvm-flavor} AS build
  COPY pom.xml /usr/src/app/
  RUN mvn -f /usr/src/app/pom.xml -B de.qaware.maven:go-offline-maven-plugin:1.2.5:resolve-dependencies
  COPY src /usr/src/app/src
  USER root
  RUN chown -R quarkus /usr/src/app
  USER quarkus
  RUN mvn -f /usr/src/app/pom.xml -Pnative clean package
  
  ## Stage 2 : create the docker final image
  FROM registry.access.redhat.com/ubi8/ubi-minimal
  WORKDIR /work/
  COPY --from=build /usr/src/app/target/*-runner /work/application
  
  # set up permissions for user `1001`
  RUN chmod 775 /work /work/application \
  
negative.code: docker build -f src/main/docker/Dockerfile.multistage -t quarkus-quickstart/getting-started .
  ----
  
  And, finally, run it with:
  
  [source,bash]
  ----
  