euleros-docker-images icon indicating copy to clipboard operation
euleros-docker-images copied to clipboard

ARM64 support

Open odidev opened this issue 7 years ago • 15 comments
trafficstars

I have created a EulerOS-rootfs images for both AMD64 & ARM64v8 architectures. The rootfs' are based on EulerOS-2.3 repository.

This means that EulerOS can support ARM64 as well in official Docker images. Please let me know, what needs to be done to raise a PR for this Repository.

I can also execute test cases if required.

Regards,

odidev avatar Jul 31 '18 09:07 odidev

Ping @liangchenye @initlove

Guys, can you please suggest: Should I upload my created rootfs for arm64v8 directly, or is there any other way to do this?

Regards,

odidev avatar Aug 20 '18 05:08 odidev

@odidev Hi, we plan to create rootfs for arm64v8. If you have created rootfs already, that will be great and helpful!

Where does your rootfs come from, this one? https://developer.huawei.com/ict/site-euleros/euleros/repo/yum/2.3/os/aarch64/

Best wishes, Chenye

liangchenye avatar Aug 21 '18 12:08 liangchenye

Hi @liangchenye Thanks for taking out sometime to consider my request.

Yes, I have used the same repository link (pointed by you) in my rootfs image to fetch rpms.

If you agree then I can upload my rootfs image which you can handle accordingly.

Regards,

odidev avatar Aug 21 '18 12:08 odidev

Will you add the new rootfs in the following structure?

2.3
|__ x86
|__ aarch64
           |___ Dockerfile
           |___ EulerOS-2.3-aarch64-tar-xz.sha256
           |___ EulerOS-2.3-aarch64.tar.xz

PS, the time now is late in my timezone, I may reply and try your rootfs tomorrow (12 hours later).

liangchenye avatar Aug 21 '18 13:08 liangchenye

Hi @liangchenye I tried to push my rootfs with the directory structure as mentioned by you, but it seems that GitHub as file size limit of 100MB.

Can you guide me another possible way to upload the rootfs? Regards,

odidev avatar Aug 22 '18 03:08 odidev

@odidev We should slim the base image. I got the same request when I submit x86 base image. https://github.com/docker-library/official-images/pull/3479

Besides the extra file issue, did you compress your rootfs? Using xz could make the rootfs 40% smaller to my experience.

liangchenye avatar Aug 22 '18 03:08 liangchenye

@liangchenye Well, my rootfs is already in tar.xz format, but still size is 507MB.

odidev avatar Aug 22 '18 03:08 odidev

How did you make it? Any tools? The base image should not have much packages, we can uninstall them.

liangchenye avatar Aug 22 '18 03:08 liangchenye

Even I agree with you. I will figure out the cause for the same and get back to you.

odidev avatar Aug 22 '18 03:08 odidev

Hi @liangchenye

I did find out the issue for higher size. My rootfs got inflated because of yum update command while verification. After resolving the same, the rootfs size now is 62MB.

I have raised a PR for the same too.

Regards,

odidev avatar Aug 22 '18 07:08 odidev

Reviewing now...

liangchenye avatar Aug 22 '18 07:08 liangchenye

Now that #11 has been merged, we can add AArch64 support to the Official Images Library File

@liangchenye is this something you'd rather do yourself, or would you be happy for me to do it?

lag-linaro avatar Nov 29 '18 12:11 lag-linaro

I'm very happy if you will do this :) @lag-linaro

liangchenye avatar Nov 29 '18 12:11 liangchenye

No problem -- I will tag you as a reviewer. If you are happy with it, please provide your LGTM.

lag-linaro avatar Nov 29 '18 12:11 lag-linaro

Looks like this has been delivered. Thanks guys.

lag-linaro avatar Jun 13 '19 11:06 lag-linaro