euleros-docker-images
euleros-docker-images copied to clipboard
ARM64 support
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,
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 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
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,
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).
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 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
Well, my rootfs is already in tar.xz format, but still size is 507MB.
How did you make it? Any tools? The base image should not have much packages, we can uninstall them.
Even I agree with you. I will figure out the cause for the same and get back to you.
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,
Reviewing now...
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?
I'm very happy if you will do this :) @lag-linaro
No problem -- I will tag you as a reviewer. If you are happy with it, please provide your LGTM.
Looks like this has been delivered. Thanks guys.