Live data from Hacker News

Alpine Linux 3.13

alpinelinux.org

31–40 of 47 posts

Re: Alpine Linux 3.13

#31

Given the popularity of Alpine it is important to update images as soon as possible given how many significant updates are there. Services like [1] help a lot for that... [1] https://newreleases.io

You might want to disclose your affiliation.

Re: Alpine Linux 3.13

#32

Earlier quoted context omitted.

An important philosophy to adopt as a user of Alpine is to take responsibility for the software you want to use on it. If you need a particular window manager or desktop environment, take responsibility for packaging it and making it available. The value of Alpine has little to do with package availability, and it's easy enough to package up anything you need yourself.

I feel I am far from enough Linux knowledge to contribute, but I am inspired to get there.

Alpine Linux is a system which appeals to those who want to know how their system works (and to be responsible for it as such). If you don't want to know how your system works, and don't want to be responsible for it, then much of Alpine's value proposition is lost compared to other distros.

Re: Alpine Linux 3.13

#33
Just a heads up to anyone using wireguard on Alpine: wireguard is now included in the kernel, so you'll want to uninstall the wireguard-lts package when you update to 3.13. Otherwise your kernel won't be upgraded and any other packages with modules (e.g. zfs) will break.

Re: Alpine Linux 3.13

#34

Earlier quoted context omitted.

An important philosophy to adopt as a user of Alpine is to take responsibility for the software you want to use on it. If you need a particular window manager or desktop environment, take responsibility for packaging it and making it available. The value of Alpine has little to do with package availability, and it's easy enough to package up anything you need yourself.

I feel I am far from enough Linux knowledge to contribute, but I am inspired to get there.

Building up to a usable desktop in Alpine is a good way to start gaining some of that knowledge.

I had a laptop for a while that I built up from alpine-extended to a pretty nice side machine, complete with Sway, vim, Rust, Firefox, and a couple others.

Re: Alpine Linux 3.13

#35
post #2

I want to like Alpine because it's so light, but realistically you can only ever use it in Docker / VMs or for very specific locked-down needs. The musl libc makes it a bad choice for general purpose desktop use (look at the number of hacks required to get some version of VSCode running on it for example).

For me the best alternative is Void Linux. It is still very lightweight and without unnecessary clutter, but more pleasant to use on a desktop.

Re: Alpine Linux 3.13

#36

Just a heads up to anyone using wireguard on Alpine: wireguard is now included in the kernel, so you'll want to uninstall the wireguard-lts package when you update to 3.13. Otherwise your kernel won't be upgraded and any other packages with modules (e.g. zfs) will break.

thanks!

Re: Alpine Linux 3.13

#37
post #9

Another "I want to love Alpine but can't" user here. Their use of musl libc makes it a very poor choice for running python in a container, because it forces a lot of manual rebuilding since the PyPi wheels don't work on Alpine, among other issues [1] [1] https://pythonspeed.com/articles/alpine-docker-python/

I believe Alpine isn't meant to be used with pip, npm, and the like. Instead you are encouraged to create alpine packages out of your dependecies and submit them upstream. Writing a new package is completely trivial in Alpine, that's one of the things that made me switch to it.

They do work, though.

Re: Alpine Linux 3.13

#38
post #31

Given the popularity of Alpine it is important to update images as soon as possible given how many significant updates are there. Services like [1] help a lot for that... [1] https://newreleases.io

You might want to disclose your affiliation.

Of course, I am affiliated, but also using it for Alpine Docker image notifications.

Re: Alpine Linux 3.13

#39
post #12
post #9

Another "I want to love Alpine but can't" user here. Their use of musl libc makes it a very poor choice for running python in a container, because it forces a lot of manual rebuilding since the PyPi wheels don't work on Alpine, among other issues [1] [1] https://pythonspeed.com/articles/alpine-docker-python/

Out of curiosity, which container have you settled on instead? debian:buster-slim?

I did settle on Debian, using i.e. python:3.9-slim-buster (though you can just as easily start from debian and install your python version)

Re: Alpine Linux 3.13

#40
post #9

Another "I want to love Alpine but can't" user here. Their use of musl libc makes it a very poor choice for running python in a container, because it forces a lot of manual rebuilding since the PyPi wheels don't work on Alpine, among other issues [1] [1] https://pythonspeed.com/articles/alpine-docker-python/

So just use the glibc compat layer, or also install glibc. https://wiki.alpinelinux.org/wiki/Running_glibc_programs

If you ask me, installing glibc / compat layers defeats the purpose of using Alpine, especially since Alpine ultimately only saved me ~50 MB on image size versus a similarly configured debian:slim-buster image
Post reply on HN