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

create official busybox variant for ARM #5

Closed
Govinda-Fichtner opened this issue Oct 28, 2015 · 4 comments
Closed

create official busybox variant for ARM #5

Govinda-Fichtner opened this issue Oct 28, 2015 · 4 comments

Comments

@Govinda-Fichtner
Copy link

While trying to get Docker integration tests running on ARM one major problem is that the current busybox image only works for x86.

Together with @StefanScherer I created a quick'n'dirty variant of the busybox image which can be found here: https://github.com/hypriot/armhf-busybox

Most of the tests seem to run with it. But we still have a couple of failing tests. This and the facts that the busybox image is crucial for the integration tests makes me think that it would be really important to have a clean port of your busybox image for ARM. And of course it should be part of the official docker-library.

How could we best achieve this? How could I help?

@hqhq
Copy link

hqhq commented Jan 11, 2016

@Govinda-Fichtner Yeah integration test demands some specific configurations for busybox image. I think you should fork https://github.com/docker-library/busybox , and have your own ubuntu/Dockerfile.builder.armhf and upstream/Dockerfile.builder.armhf.

I worked on this for arm64, but got some problems for upstream/Dockerfile.builder.aarch64, anyway @tianon seems toke over and fixed it, now we have https://hub.docker.com/r/aarch64/busybox/ (thanks @tianon , though I don't know how he built it yet, any source files we can see?).

@hqhq
Copy link

hqhq commented Jan 11, 2016

Sorry didn't check your link, you seems already did it based on the official source code. Then I think we should have architecture specific dockerfiles in https://github.com/docker-library/busybox as we have in Docker, @tianon WDYT?

@tianon
Copy link
Member

tianon commented Jan 12, 2016

The way I'd done it was somewhat manual, but I've finally got it fixed so that it happens automatically from the existing source here (especially thanks to the refactoring in #7); see https://github.com/tianon/jenkins-groovy/blob/master/dsl/docker-multiarch/images/busybox.groovy for the current modifications/build script (and docker-library/gcc#25 for some additional discussion of why I'd rather not commit to completely separate, explicit "multiarch" Dockerfiles just yet).

@tianon
Copy link
Member

tianon commented Aug 22, 2016

I'm going to close this now given the existence of https://hub.docker.com/r/armhf/busybox/, https://hub.docker.com/r/armel/busybox/, and even https://hub.docker.com/r/aarch64/busybox/. 👍

@tianon tianon closed this as completed Aug 22, 2016
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

3 participants