Level 5
I've discovered that wkhtmltopdf is missing in Alpine v.3.15 but it is available in v.3.14. Is there any way around this?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all, I'm trying to get wkhtmltopdf working in a project on Vapor using a docker based runtime.
This is the production.Dockerfile
FROM laravelphp/vapor:php81
RUN apk add --update --no-cache \
wkhtmltopdf \
xvfb \
ttf-dejavu ttf-droid ttf-freefont ttf-liberation \
;
COPY . /var/task
However I'm running into this error when I try to deploy:
#5 1.569 ERROR: unable to select packages:
#5 1.623 wkhtmltopdf (no such package):
#5 1.623 required by: world[wkhtmltopdf]
Has anyone managed to do something like this successfully?
Please or to participate in this conversation.