mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-22 06:11:08 -05:00
Alpine package depends on systemd #456
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vikunja-bot on GitHub (Apr 1, 2025).
Original issue by edward-shen on 2023-05-25T04:04:35.000Z
Description
Hey folks!
I was thinking of trying out Vikunja on a lxc container. I was able to fetch the
.apkfile but quickly became stuck:Repro steps:
Alpine Linux uses OpenRC as its init system, so having a dependency on
systemdhere is incorrect. As far as I can tell, there's no way to actually installsystemdon an Alpine Linux system.I can use a different base image as a workaround, but that really inflates the container size so I'd rather not if possible.
Vikunja Frontend Version
n/a
Vikunja API Version
0.20.4
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
n/a
Screenshots
No response
Original issue on Gitea
@kolaente commented on 2023-05-30T08:50:31.000Z:
Thanks for the report.
If you want to build a container with it, why don't you use the binary directly? (I've never done anything with LXC, don't know what's the best practice there?)
I don't know anything about the alpine init system, do you want to send a PR to add proper support for it?
AbelLykens commented on 2023-05-30T14:20:55.000Z:
I am running on LXC on Debian without problems, hope it helps :)
edward-shen commented on 2023-05-30T17:25:33.000Z:
Hi! LXC is just how I set it up -- the issue is independent of LXC or containers in general.
I raised this issue because Vikunja offers an Alpine linux package here but the Alpine linux package doesn't work on a vanilla install of Alpine linux, which felt like a bug.
The primary benefit of having using the APK would be integrating with the init system to daemonize Vikunja without relying on other tools (which would kinda be against one of alpine linux's features: being small).
I can certainly give it a try but I can't promise anything in the near future. Anyone is also free to snipe me. :)
@kolaente commented on GitHub (Jun 25, 2025):
This is now resolved in https://github.com/go-vikunja/vikunja/pull/1016 - please check with the next unstable build if the alpine package works.