meteorhacks / meteord

MeteorD - Docker Runtime for Meteor Apps for Production Deployments
https://registry.hub.docker.com/u/meteorhacks/meteord/
MIT License
439 stars 371 forks source link

Automated build failing on Docker Hub #104

Open 0o-de-lally opened 8 years ago

0o-de-lally commented 8 years ago

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 commented 8 years ago

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

0o-de-lally commented 8 years ago

@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 commented 8 years ago

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 commented 8 years ago

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

mitar commented 8 years ago

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 commented 8 years ago

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

mitar commented 8 years ago

No.