Skip to content
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

alpine 3.9 support #3

Closed
oadam opened this issue Feb 7, 2019 · 5 comments
Closed

alpine 3.9 support #3

oadam opened this issue Feb 7, 2019 · 5 comments

Comments

@oadam
Copy link

oadam commented Feb 7, 2019

I've been using your build steps with great success for the past few month but I'm having issues adapting it to alpine 3.9 .

The apk install is failing because the libssl1.0 package has been removed :

I tried using libssl1.1 instead but the wkhtmltopdf binary was complaining about missing symbols.

@madnight
Copy link
Owner

madnight commented Feb 7, 2019

Maybe you can try:

echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/main' >> /etc/apk/repositories
apk add libssl1.0

@mareksuscak
Copy link

mareksuscak commented Apr 28, 2019

Or change to libssl1.1 and libcrypto1.1 since these ones're available - https://pkgs.alpinelinux.org/packages?name=libssl*&branch=v3.9

EDIT1: actually that wouldn't work since the binary was clearly compiled with libssl1.0

EDIT2: check this out https://github.com/Surnet/docker-wkhtmltopdf (includes the build script), i'm gonna contribute a patch for alpine 3.9

EDIT3: There is a PR now - Surnet/docker-wkhtmltopdf#7

@madnight
Copy link
Owner

@mareksuscak ah well done, nice work

Hm maybe my repository doesn't make sense anymore, since the Surnet approach seems to be way better than my pre-compiled binary copy approach.

@mareksuscak
Copy link

Well, the end goal is to support Alpine Linux in the official repository from what I can tell. See wkhtmltopdf/packaging#2

@madnight
Copy link
Owner

The binary supports alpine 3.10 now (is linked against libssl1.1 and libcrypto1.1). However, I strongly recommend https://github.com/Surnet/docker-wkhtmltopdf

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

No branches or pull requests

3 participants