Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiStage Docker instructions needed chmod ./mvnw #43978

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

melloware
Copy link
Contributor

I used these instructions to deploy to Koyeb and it would fail saying /bin.sh could not run mvnw so I had to add

RUN chmod +x ./mvnw

And then it worked. You can see my Koyeb deploy script here: https://github.com/melloware/quarkus-faces/blob/main/Dockerfile.koyeb

Copy link

github-actions bot commented Oct 19, 2024

🙈 The PR is closed and the preview is expired.

@quarkus-bot

This comment has been minimized.

@@ -584,6 +584,7 @@ COPY --chown=quarkus:quarkus .mvn /code/.mvn
COPY --chown=quarkus:quarkus pom.xml /code/
USER quarkus
WORKDIR /code
RUN chmod +x ./mvnw
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not very familiar with the Docker format but can't we copy and keep the permissions above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. I am also not an expert! let me find out

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combined them into one command

@melloware melloware changed the title MultiStage Docker instructions needed RUN chmod +x ./mvnw MultiStage Docker instructions needed chmod ./mvnw Oct 21, 2024
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 21, 2024

Status for workflow Quarkus Documentation CI

This is the status report for running Quarkus Documentation CI on commit 3e0dfa9.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gsmet gsmet merged commit 17bfc2a into quarkusio:main Oct 21, 2024
5 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.17 - main milestone Oct 21, 2024
@melloware melloware deleted the patch-1 branch October 21, 2024 14:40
@gsmet gsmet modified the milestones: 3.17 - main, 3.16.0 Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants