-
Notifications
You must be signed in to change notification settings - Fork 5
Use released Rust tar-balls instead of git repo #3
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
Conversation
|
Hi there, and thanks for the PR. It looks like the build on the Docker Hub is actually timing out - I'm going to try building with these changes and see if that drops things below the timeout. I've also emailed Docker support to see if it's possible to bump the limit on this particular repo. I've also added a link to Debian, but that won't take effect until the build is working again. |
Use released Rust tar-balls instead of git repo
|
Unfortunatelly, it timed out again. If Docker Hub will not extend the time limit, you can try Travis or CircleCI (though they have only 25 hours per month free plan) to automate the build process. |
|
Yeah, I tried using Travis, but it looks like it's over the limit there too :-( |
|
That is weird. Travis claims the following:
Try to use |
|
I think the issue is actually this (from here):
Since the |
|
Okay, so, I got this response from Docker:
So, I have a couple options:
Any thoughts? |
|
I have an idea based on your second option. After all stages are done, we can create a package or just a bundle, and push it to an external storage. The next step would be creating a simple image with installation of the package/bundle. We can probably even try to use Alpine for the final image. |
|
Hm, that's actually an interesting idea. There would need to be some way of securely uploading to external storage, though - you can't just put a password into the I thought about doing some sort of Docker-in-Docker stuff too, but I'd be interested in any ideas here! |
|
It wouldn't be an easy way, but we can try to pull last-stage-rust-image using https://github.com/samalba/docker-registry-debug and then unpack the necessary files from the tar-ball on the fly in the final image. |
|
FYI, I have asked a question on StackOverflow: http://stackoverflow.com/questions/34993610/is-there-a-way-to-download-a-docker-image-without-docker-daemon |
|
@andrew-d maybeg from StackOverflow wrote the following:
I guess, using webhooks it should be possible to build all stages on quay.io, and then build the final image on Docker Hub. (This thing doesn't feel like an easy and reliable solution, but I don't have other ideas anyway.) |
It would be also great to have images for stable (1.6.0) and beta releases on Docker Hub. (You can create several branches with just
RUST_VERSION=1.6.0andRUST_VERSION=betachanges, and link them on Docker Hub)P.S. Please, add a link to Debian image on Docker Hub (in Build Settings) so your images get rebuilt on every Debian image update.