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

Develop pbuilder - builds inside Docker #1

Open
dreamcat4 opened this issue Jul 9, 2015 · 2 comments
Open

Develop pbuilder - builds inside Docker #1

dreamcat4 opened this issue Jul 9, 2015 · 2 comments

Comments

@dreamcat4
Copy link
Owner

Hi @adamsutton,
This is the temp/test repo I created to work in (https://github.com/dreamcat4/tvh.build.tmp).

Hopefully you can also see here on Docker Hub it's build logs:

https://registry.hub.docker.com/u/dreamcat4/tvh.build.pbuilder/dockerfile/

^^ that's the first image. I've made it as a 3-tiered structure. So in each subfolder there is another Dockerfile which builds on-top of the preious one, etc.

BTW:

I could not find any pkg in default ubuntu repos with the exact name pbuilder-dist. So either it's a) in backports? or b) a cmd in the main pkg, pbuilder ?

Perhaps there are other a few other useful helper pkgs that can be installed in conjunction with the main / vanilla pbuilder ?

@dreamcat4
Copy link
Owner Author

And here's the 2nd layer:

https://registry.hub.docker.com/u/dreamcat4/tvh.build.pbuilder.armhf/dockerfile/

[edit] Base image appears to be missing pbuilder-dist. It comes from other dev pkg:

0979fc0

@dreamcat4
Copy link
Owner Author

Hmm not sure what this means...

I: Running command: chroot . /debootstrap/debootstrap --second-stage
chroot: failed to run command '/debootstrap/debootstrap': Exec format error
E: qemu-debootstrap failed

https://registry.hub.docker.com/u/dreamcat4/tvh.build.pbuilder.armhf/build_id/73986/code/bgxt326jjcrqtjgpcskkean/

Perhaps we would have better luck trying out an i386 build (for test example) before moving onto such ARM cross-compile. More work / is tougher for ARM.

[edit] @adamsutton Have given you push access (collaborator) on this repo. Or you can fork, git clone your own copy of it to play around with.

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

1 participant