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

Make editions that install the regular alpine packages #107

Closed
afbjorklund opened this issue Jun 9, 2023 · 5 comments
Closed

Make editions that install the regular alpine packages #107

afbjorklund opened this issue Jun 9, 2023 · 5 comments

Comments

@afbjorklund
Copy link
Member

afbjorklund commented Jun 9, 2023

I made some "editions" of alpine-lima, that installs the regular packages:

These apk are now available upstream, making the installation smoother.


Only added some refactoring, to make using "nerdctl-full" more explicit:

To make "nerdctl" mean only nerdctl, and call the bundle "nerdctl-full"

@afbjorklund
Copy link
Member Author

afbjorklund commented Jun 9, 2023

I'm not sure you want the actual editions in the main project:

https://github.com/afbjorklund/alpine-lima/tree/editions

Just adding the knobs and options, to make them possible...

export LIMA_INSTALL_NERDCTL_FULL=false

export LIMA_INSTALL_NERDCTL=false
export LIMA_INSTALL_CONTAINERD=false
export LIMA_INSTALL_BUILDKIT=false
export LIMA_INSTALL_PODMAN=false
export LIMA_INSTALL_DOCKER=false

@afbjorklund
Copy link
Member Author

afbjorklund commented Jun 9, 2023

Basically these editions are a merge of template://alpine and *-rootful

https://github.com/lima-vm/lima/blob/master/examples/alpine.yaml

It is possible to do it with YAML, just wanted to see what the size was like:

66M	iso/alpine-lima-std-3.18.0-x86_64.iso
111M	iso/alpine-lima-pm-3.18.0-x86_64.iso
147M	iso/alpine-lima-de-3.18.0-x86_64.iso
151M	iso/alpine-lima-nc-3.18.0-x86_64.iso

Might include nerdctld for the nerdctl.sock, haven't decided (an option)

For the legacy tools that only support the "compatibility" remote socket...

@afbjorklund
Copy link
Member Author

afbjorklund commented Jun 9, 2023

The "nerdctl-full" distribution currently requires glibc, there is no variant for musl:

It might offer a fully static version in the future, but the dynamic binaries are smaller...

Maybe in the future, there will also be glibc and musl dynamic variants of nerdctl-full ?


https://github.com/containerd/nerdctl/releases/tag/v1.4.0

# nerdctl (full distribution)
- nerdctl: v1.4.0
- containerd: v1.7.1
- runc: v1.1.7
- CNI plugins: v1.3.0
- BuildKit: v0.11.6
- Stargz Snapshotter: v0.14.3
- imgcrypt: v1.1.7
- RootlessKit: v1.1.0
- slirp4netns: v1.2.0
- bypass4netns: v0.3.0
- fuse-overlayfs: v1.12
- containerd-fuse-overlayfs: v1.0.6
- Kubo (IPFS): v0.20.0
- Tini: v0.19.0
- buildg: v0.4.1

The rootless containers don't work without systemd, and Alpine uses OpenRC.

Also systemd requires glibc, making it a no-go as long as it is using musl-libc...

@jandubois
Copy link
Member

@afbjorklund Is this still the plan? Is there a point in maintaining these as ISO editions when the user could just use the regular image template and install the additional packages with apk?

Unless you plan to create and maintain the additional editions, I would suggest we close this issue.

@afbjorklund
Copy link
Member Author

It is not something that I would be maintaining, so it can be scripted on top of alpine unless someone else does it...

@afbjorklund afbjorklund closed this as not planned Won't fix, can't repro, duplicate, stale Oct 26, 2024
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

2 participants