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

docker images not automatically updated on dockerub #6

Open
mhaberler opened this issue Jul 21, 2016 · 3 comments
Open

docker images not automatically updated on dockerub #6

mhaberler opened this issue Jul 21, 2016 · 3 comments

Comments

@mhaberler
Copy link

https://hub.docker.com/r/cdsteinkuehler/jessie-quartus-base/ shows old commits

dockerhub makes it easy to link to this github repo and trigger a rebuild on push so they'd be always up to date

that'd enable us to add a .travis dir to the mksocfpga repo so everybody could rebuild firmware

@cdsteinkuehler
Copy link
Owner

On 7/21/2016 6:05 PM, Michael Haberler wrote:

https://hub.docker.com/r/cdsteinkuehler/jessie-quartus-base/ shows old commits

dockerhub makes it easy to link to this github repo and trigger a rebuild on
push so they'd be always up to date

that'd enable us to add a .travis dir to the mksocfpga repo so everybody could
rebuild firmware

I don't think the automated builds allow for "squashing" the resulting
image, which is required unless you want a 20+ GB docker file. :(

Charles Steinkuehler
[email protected]

@mhaberler
Copy link
Author

mhaberler commented Jul 22, 2016

well we could setup an automated build on jenkins.machinekit.io then, plus push to dockerhub from there, would be good to have those images á jour
explorting https://github.com/jwilder/docker-squash

@cdsteinkuehler
Copy link
Owner

On 7/22/2016 1:50 AM, Michael Haberler wrote:

well we could setup an automated build on jenkins.machinekit.io then, would be
good to have those images á jour
explorting https://github.com/jwilder/docker-squash

No experimeting necessary, see the step-by-step directions in the
comments at the end of the Dockerfile.

I had bad luck using docker-squash, so I switched to docker-rebase:

Get the docker-rebase script from here:

https://github.com/docbill/docker-scripts

This keeps things like the USER setting from the original container, and
doesn't fail on the (very large) Quartus build images.

Charles Steinkuehler
[email protected]

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