Skip to content

Commit

Permalink
MultiStage Docker instructions needed chmod ./mvnw
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Oct 21, 2024
1 parent 744bc75 commit 3e0dfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/building-native-image.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ Sample Dockerfile for building with Maven:
----
## Stage 1 : build with maven builder image with native capabilities
FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:{mandrel-flavor} AS build
COPY --chown=quarkus:quarkus mvnw /code/mvnw
COPY --chown=quarkus:quarkus --chmod=0755 mvnw /code/mvnw
COPY --chown=quarkus:quarkus .mvn /code/.mvn
COPY --chown=quarkus:quarkus pom.xml /code/
USER quarkus
Expand Down

0 comments on commit 3e0dfa9

Please sign in to comment.