question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

COPY failed: . . allure-docker-api: no such file or directory

See original GitHub issue

Apologies from a docker newbie if I “did the wrong thing” wishing to push an allure instance to GCP.

Using https://github.com/fescobar/allure-docker-service/blob/master/docker/Dockerfile.bionic

gcloud builds submit . . . Step 19/67 : COPY allure-docker-api $ROOT_DIR/allure-docker-api COPY failed: stat /var/lib/docker/tmp/docker-builder133308070/allure-docker-api: no such file or directory

What did I do wrong? Are there steps someplace to help a Docker newbie get success pushing your Docker container to gcp? (I have the container running locally and can even get reports)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bbookmancommented, May 11, 2021

And I guess this was less of a docker specific issue than simply understanding the peace parts of the allure solution and what is actually in each of the repos you have here

On Tue, May 11, 2021 at 7:34 AM bruce bookman @.***> wrote:

Thank you! This makes sense.

On Tue, May 11, 2021 at 7:12 AM fescobar @.***> wrote:

@bbookman https://github.com/bbookman if you want to create your own image you need to clone this full repository and run the command from the root project. That error is because you don’t have the allure-docker-api directory in your machine. This one https://github.com/fescobar/allure-docker-service/tree/master/allure-docker-api but as I said before you need to clone the complete repo.

The same, if you want to use the allure-docker-service you don’t need to build your own image. You can pull directly from the docker hub. You can do that by executing the next commands.

https://github.com/fescobar/allure-docker-service#single-project---local-reports

https://github.com/fescobar/allure-docker-service#multiple-projects---remote-reports

I recommend you to learn docker from scratch. There are a lot of excellent courses in Udemy.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fescobar/allure-docker-service/issues/154#issuecomment-838545396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5ZUQZSKHB47HJ2COAESTDTNE3LNANCNFSM44RS7M6A .

– Bruce Bookman

– Bruce Bookman

0reactions
bbookmancommented, May 11, 2021

Thank you! This makes sense.

On Tue, May 11, 2021 at 7:12 AM fescobar @.***> wrote:

@bbookman https://github.com/bbookman if you want to create your own image you need to clone this full repository and run the command from the root project. That error is because you don’t have the allure-docker-api directory in your machine. This one https://github.com/fescobar/allure-docker-service/tree/master/allure-docker-api but as I said before you need to clone the complete repo.

The same, if you want to use the allure-docker-service you don’t need to build your own image. You can pull directly from the docker hub. You can do that by executing the next commands.

https://github.com/fescobar/allure-docker-service#single-project---local-reports

https://github.com/fescobar/allure-docker-service#multiple-projects---remote-reports

I recommend you to learn docker from scratch. There are a lot of excellent courses in Udemy.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fescobar/allure-docker-service/issues/154#issuecomment-838545396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5ZUQZSKHB47HJ2COAESTDTNE3LNANCNFSM44RS7M6A .

– Bruce Bookman

Read more comments on GitHub >

github_iconTop Results From Across the Web

COPY failed: no such file or directory - docker - Stack Overflow
WORKDIR switches working directory in docker image, but not in host. COPY app/requirements.txt /home/app/. It works correctly.
Read more >
How to fix docker copy failed: stat no such file or directory?
Guide for troubleshooting -https://jhooq.com/docker- copy - failed - no -source- files -were-specified=============================...
Read more >
Docker COPY issue - "no such file or directory" - Server Fault
For following error, COPY failed: stat. I got it around by restarting docker service.
Read more >
COPY failed: stat /var/lib/docker/tmp ... - Torben Pedersen
NET Core project, the error 'no such file or directory' can occur if the right build context is missing. In Visual Studio generated...
Read more >
allure-docker-service/community - Gitter
/app/allure-docker-api/static/projects/xxx/reports/xxx/* has same files ... to LATEST folder instead of just copy-pasting results to BUILD_ORDER folder.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found