-
Notifications
You must be signed in to change notification settings - Fork 33
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
[RFE] Include Docker packages and dependencies in portage-stable #1091
Comments
Note: This is a good opportunity to pull at the same time |
The issue now would mean to drop the downstream patches because in coreos-overlay we also moved to app-containers, and they get taken instead of portage-stable packages. Can we rename this issue to not have two different docker packages but instead one that works for both cases? |
@pothos @t-lo In order to maintain the downstream changes, which are there for a reason, and avoid having multiple packages, I keep it as it is and remove the kernel dependency. I also hardcode the kernel 6.1 case. Currently, I am testing the installation of Docker in the SDK container. I will make a pull request for this once the testing is complete. |
@pothos do you think it would be worthwhile to review the downstream changes we apply? We could save us a bit of maintenance work if we used the upstream ebuilds directly. We could also import more features from upstream w/o increasing our maintenance load, e.g. docker-compose. Also, we'd be able to introduce new versions to upstream (e.g. docker 24, runc 1.1.7) since we test docker quite thoroughly in our test suite. |
I hope that we can get rid of the downstream changes. One change is for controlling the default use flags but maybe we could do this in the emerge profile. One other difference I see could be the Go cross compilation that we do with |
With this patch (adding acct-group/docker to portage-stable) I am able to emerge app-containers/docker
Should I send a pull request with this? @pothos @t-lo @tormath1 |
My PR flatcar/scripts#951 which has now been merged includes the docker dependency needed to be able to emerge it. flatcar/scripts#958 includes some needed changes for the recently added acct-group/docker package. Once the build_sysext script PR is merged could we build and ship the Docker sysext already? @t-lo |
Yes, that's the next step. Then rip out torcx for good (in the build scripts as well as deprecating the actual torcx ebuild), and we're done. |
Current situation
Docker is packaged and shipped via Torcx. Docker ebuilds and dependencies reside in custom directories
app-emulation
incoreos-overlay
instead of the upstreamapp-containers
.Impact
Staying up to date causes maintenance overhead as we are not re-using Gentoo's ebuilds. Switching from Torcx to sysext is soft-blocked until the docker packages are available via portage-stable (because we don't want to re-use the custom ebuilds structure Torcx uses today).
Ideal future situation
Packages are available in portage-stable and
emerge-[amd64|arm64]-usr docker
emerges the latest Gentoo docker version. All integration tests pass.Additional information
@krishjainx wanted to look into this.
The text was updated successfully, but these errors were encountered: