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

add openeuler base image for amd64, arm64v8 #7980

Closed
wants to merge 1 commit into from

Conversation

openeulerHW
Copy link

add openeuler base image for amd64, arm64v8
The root filesystem tar package is larger than 100M, we had to use git-lfs to upload it to github, completely pull of dist-amd64 and dist-arm64 branch also need git-lfs.

@github-actions
Copy link

Diff for 0dc6ceb:
failed fetching repo "openeuler"
unable to find a manifest named "openeuler" (in "/tmp/tmp.JoCYj7VLc1/oi/library" or as a remote URL)
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

@tianon
Copy link
Member

tianon commented May 11, 2020

Replying to #7982 here (since the PR with the issue is the appropriate place to have a discussion about it 😄):

I'm not sure if it is suitable to ask the question through filing a issue here, the guideline doesn't seem to metion the point.
As the pull request #7980 shows, our image have a rootfs package larger than 100M. Since github does not allow push such a big file directly, we use git-lfs to push it and thus causing the file cannot be pulled completely using git (it need to be pulled also using git-lfs). It seem to be the reason why this pull request failed the automatic check.
So is it means any official image should not including a package larger than 100M?

As you've discovered, we unfortunately don't yet support Git LFS (docker-library/bashbrew#10).

I'm very curious why the rootfs is over 100MB though -- isn't EulerOS an RPM-based distribution? What's included in that tarball which makes it so large? Surely there's room for improvement on the size (packages that don't make sense / aren't necessary in containers, kernel-related files, etc)?

@openeulerHW
Copy link
Author

Replying to #7982 here (since the PR with the issue is the appropriate place to have a discussion about it 😄):

I'm not sure if it is suitable to ask the question through filing a issue here, the guideline doesn't seem to metion the point.
As the pull request #7980 shows, our image have a rootfs package larger than 100M. Since github does not allow push such a big file directly, we use git-lfs to push it and thus causing the file cannot be pulled completely using git (it need to be pulled also using git-lfs). It seem to be the reason why this pull request failed the automatic check.
So is it means any official image should not including a package larger than 100M?

As you've discovered, we unfortunately don't yet support Git LFS (docker-library/bashbrew#10).

I'm very curious why the rootfs is over 100MB though -- isn't EulerOS an RPM-based distribution? What's included in that tarball which makes it so large? Surely there's room for improvement on the size (packages that don't make sense / aren't necessary in containers, kernel-related files, etc)?

Got it, We will try to reduce the size of base image at next release.

@tianon
Copy link
Member

tianon commented May 15, 2020

On the next PR, you should also spend some time explaining what makes openEuler different from EulerOS (perhaps what they have in common as well), or link to some relevant documentation about the project that might help explain what makes it unique.

As additional context, the EulerOS image is already not being well-maintained (#5644 (comment)), and I'd hate to see a repeat of that.

@martin-g
Copy link
Contributor

openEuler is an open-source Linux distribution with contributors from many organizations. It is governed by OpenAtom Foundation - similar to Linux Foundation but for Chinese OSS.
Some people say that it is based on RHEL but this is not really true. It just uses the RPM package management (DNF/YUM).
I am not sure how much technical details about openEuler I should share here, so I will just add a link to the latest technical white paper.

EulerOS is a commercial distro by Huawei. It is based on openEuler but adds proprietary software that optimizes it for Huawei's ARM64 hardware (Kunpeng and Ascend)

Disclaimer: I work for Huawei in the past few years!

I am pretty excited to work on and maintain the official Docker image for openEuler!
Unless something bad happens to me I plan to be around in the next several years!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants