Alpine package depends on systemd #1530
I was thinking of trying out Vikunja on a lxc container. I was able to fetch the
.apk file but quickly became stuck:
# wget https://dl.vikunja.io/api/0.20.4/vikunja-0.20.4-x86_64.apk # apk add --allow-untrusted vikunja-0.20.4-x86_64.apk ERROR: unable to select packages: systemd (no such package): required by: vikunja-0.20.4[systemd]
Alpine Linux uses OpenRC as its init system, so having a dependency on
systemd here is incorrect. As far as I can tell, there's no way to actually install
systemd on 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
Vikunja API Version
Browser and version
Can you reproduce the bug on the Vikunja demo site?
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?
I am running on LXC on Debian without problems, hope it helps :)
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. :)
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?