RUN apk --update add ttf-ubuntu-font-family wkhtmltopdf
我正尝试在 Docker 镜像 ruby-2.5.1:alpine
中使用此命令安装 wkhtml,但是出现了以下错误:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
wkhtmltopdf (missing):
required by: world[wkhtmltopdf]
The command '/bin/sh -c apk --update add ttf-ubuntu-font-family wkhtmltopdf' returned a non-zero code: 1
有没有安装的方法?提前感谢。