Hi, I am trying to install msttcore font package using dockerfile command in a particular folder. I am trying the below command and I am not able to achieve it, any help would be much appreciated. Thanks in advance.
FROM alpine:latest
WORKDIR /app
RUN mkdir -p /usr/share/fonts/truetype/
RUN apk --no-cache add msttcorefonts-installer fontconfig && update-ms-fonts && fc-cache -f /usr/share/fonts/truetype/
I want to install the “msttcorefonts” package in /usr/share/fonts folder.
Thanks.