-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
ZeroTier package in Alpine #370
Comments
Absolute noob about this but I gave it a shot and got the following error after running osdep/LinuxEthernetTap.cpp:35:22: fatal error: linux/if.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'osdep/LinuxEthernetTap.o' failed
make: *** [osdep/LinuxEthernetTap.o] Error 1 Probably not a great idea to do it in the alpine docker image? If not, I can image an old computer I have with alpine at some point. |
There is a package in Alpine with kernel headers like this. Forget what it is called. |
Alpine is designed to be super minimal and does not install such things by default, while other distros do. |
Ok, I'll try to look those up after the holiday. |
Got slightly further this time. Needed to install I'm thinking I'll start with the init.d script part. Is there something I can reference for this? |
Does anyone know OpenRC (Alpine init system)? Struggling at getting the init script in. |
You're telling me Linux now has another init system? I've got the solution! (goes off to write yet another init system) |
You can call it YAInit! On Tue, Sep 27, 2016 at 8:57 AM Adam Ierymenko notifications@github.com
|
You need not worry, OpenRC is ~10 years old already :-) (primarily developed for and by a then-Gentoo developer but it's used by other Linux and even BSD distributions IIRC).
That's what I use on Gentoo, couldn't be more basic:
|
@bonki I tried something similar but I'll give what you posted a try. Thanks. |
@bonki Looks like that worked. My issue was trying to run it on a docker alpine. Works fine on a vm. Just need to button up the package. I'll post back here when you can view it in my fork for any feedback. |
Feedback welcome. Will create PR after a few days. |
Just waiting on the PR to be merged or rejected: alpinelinux/aports#344 |
So it ended up being this PR instead: alpinelinux/aports#533 I'm not entirely sure when I can have the package be part of the main apk. If you want to test/start using in the mean time it'd be something like vi /etc/apk/repositories
apk update
apk add zerotier-one@testing
/etc/init.d/zerotier-one start |
@ramarnat, @adamierymenko has taken over via: alpinelinux/aports#1379 You think it possible to also close: https://www.bountysource.com/issues/36370440-zerotier-package-in-alpine 😀 |
Experienced similar issue: |
Creating this here for tracking purposes.
ZeroTier should be available in the Alpine Linux Repo (especially for docker installations).
https://pkgs.alpinelinux.org/packages
The text was updated successfully, but these errors were encountered: