HI, that's what I do:
dockerfile:
FROM tomcat:8.0.47-jre8-alpine
RUN apk --update add font-config ttf-dejavu
and then I get an error:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
font-config (missing):
required by: world[font-config]
The command '/bin/sh -c apk --update add font-config ttf-dejavu' returned a non-zero code: 1
Any ides on how to fix that?
it's fontconfig, without dash
@liyuankui , thank you, that worked!
RUN apk --update add fontconfig ttf-dejavu
Most helpful comment
@liyuankui , thank you, that worked!
RUN apk --update add fontconfig ttf-dejavu