Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Alpine support #1

Open
robocoder opened this issue May 18, 2022 · 2 comments
Open

Alpine support #1

robocoder opened this issue May 18, 2022 · 2 comments

Comments

@robocoder
Copy link
Member

Background

The alpine Dockerfile is experimental and doesn't work yet. I've contacted Nord Security and the request has been forwarded to the application team. There's no word on whether or not they will build a package for alpine, nor an ETA.

Technical Details

To summarize, the nordvpn command-line interface is a dynamically linked executable that depends on the libc6 shared library. Nord packages this for Debian-based systems. In contrast, alpine is not Debian-based and uses the musl library instead of libc6. In the Dockerfile, you'll see workarounds to the "architecture" difference and package dependencies. Attempting to run nordvpnd fails:

Error relocating /usr/bin/nordvpn: __vfprintf_chk: symbol not found
Error relocating /usr/bin/nordvpn: __fprintf_chk: symbol not found
@robocoder
Copy link
Member Author

use LD_PRELOAD to load a shim.o for the missing _chk functions?

@robocoder
Copy link
Member Author

install gcompat?

https://git.adelielinux.org/adelie/gcompat

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant