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

Trivial project setup fails to build with Dockerfile.multistage example #19375

Closed
artempl opened this issue Aug 12, 2021 · 3 comments
Closed
Labels
kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant

Comments

@artempl
Copy link

artempl commented Aug 12, 2021

Describe the bug

Generate sample project. Take Dockerfile.multistage from documentation.

Try to build with command:

docker build -f src/main/docker/Dockerfile.multistage -t quarkus-quickstart/getting-started .

Expected behavior

Success build

Actual behavior

Build fails with message:
`
Step 12/16 : COPY --from=build /project/target/*-runner /work/application

COPY failed: no source files were specified
`

How to Reproduce?

No response

Output of uname -a or ver

Linux 5.11.0-22-generic #23-Ubuntu SMP Thu Jun 17 00:34:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.1.2.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

docker --version
Docker version 20.10.8, build 3967b7d

@artempl artempl added the kind/bug Something isn't working label Aug 12, 2021
@geoand
Copy link
Contributor

geoand commented Sep 30, 2021

Is this still an issue?

@artempl
Copy link
Author

artempl commented Sep 30, 2021

Dockerfile on site has been updated but it also fails. Here is workaround that works for me
Screenshot from 2021-09-30 10-11-36

@manovotn manovotn added triage/out-of-date This issue/PR is no longer valid or relevant and removed triage/needs-triage labels Nov 11, 2022
@manovotn
Copy link
Contributor

I tried this and I am no longer seeing the error.
@artempl feel free to reopen if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/out-of-date This issue/PR is no longer valid or relevant
Projects
None yet
Development

No branches or pull requests

3 participants