Add fonts to image using Jib

302 views Asked by At

We have Jib in out project instead of Docker containerization and now I have a task to add fonts to final image.

Commands that I need to reproduce with Jib and how it looks like with Docker:

RUN apk --no-cache add curl ttf-dejavu msttcorefonts-installer fontconfig \
  && update-ms-fonts \
  && fc-cache -f

Actually I don't think that I need to add all fonts, I need only Times New Roman.

Also I would mention that I don't have any opportunity to change base image, so I can't add fonts to image before Jib using it.

Considering all points, what would you recommend eventually?

0

There are 0 answers