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

Automated build failing on Docker Hub #104

Open
0o-de-lally opened this issue Jun 30, 2016 · 7 comments
Open

Automated build failing on Docker Hub #104

0o-de-lally opened this issue Jun 30, 2016 · 7 comments

Comments

@0o-de-lally
Copy link

0o-de-lally commented Jun 30, 2016

Trying to do automated deployment on Docker Hub / Docker Cloud.

Following the instructions I have created a Dockerfile, with the line

FROM meteorhacks/meteord:onbuild

The build fails with:

The command '/bin/sh -c bash $METEORD_DIR/on_build.sh' returned a non-zero code: 2 
[6/30/2016, 6:26:53 PM]ERROR: Build failed: The command '/bin/sh -c bash $METEORD_DIR/on_build.sh' returned a non-zero code: 2
[6/30/2016, 6:26:54 PM]ERROR: Build failed with exit code 2
[6/30/2016, 6:26:54 PM]ERROR: Build in 'master' (3acfc7a6) failed in 0:03:59

There are many tar errors of "Directory renamed before its status could be extracted"

Any clues about what this means?

@mitar
Copy link

mitar commented Jun 30, 2016

Is there any other error message before that? It is impossible to know here.

@0o-de-lally
Copy link
Author

@mitar It seems to produce the same tar error. But I don't know the environment Docker Hub runs it's builds in.

@arunoda Does this mean option 1. 'Build a Docker image for your app' should be deprecated in the documentation?

@mitar
Copy link

mitar commented Jun 30, 2016

This does not happens always on Docker Hub for me. And for local building it seems it works as well depending on your local configuration. So I am not sure anything should be deprecated.

@0o-de-lally
Copy link
Author

@mitar Does it just fail randomly, or is there a config I need to consider?

@mitar
Copy link

mitar commented Jun 30, 2016

For Docker Hub it seems it fails randomly. I am guessing that they do not have uniform configuration for all their workers.

But it is getting worse. They do not have to fixed it. :-(

@0o-de-lally
Copy link
Author

Have you tried it on Docker Cloud? I think it's a different environment...

@mitar
Copy link

mitar commented Jun 30, 2016

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants