From fbf6b6de4178ad016a9f409b755cf05523ec833e Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Mon, 2 Nov 2020 20:29:17 -0800 Subject: [PATCH] Add emoji fonts to Docker image. #71 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1a4f049..9cb067a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,11 @@ ENV NODE_ENV production WORKDIR /quickchart +RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories + RUN apk add --no-cache --virtual .build-deps yarn git build-base g++ python RUN apk add --no-cache --virtual .npm-deps cairo-dev pango-dev libjpeg-turbo-dev -RUN apk add --no-cache --virtual .fonts libmount ttf-dejavu ttf-droid ttf-freefont ttf-liberation ttf-ubuntu-font-family font-noto fontconfig +RUN apk add --no-cache --virtual .fonts libmount ttf-dejavu ttf-droid ttf-freefont ttf-liberation ttf-ubuntu-font-family font-noto font-noto-emoji fontconfig RUN apk add wqy-zenhei --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing --allow-untrusted RUN apk add --no-cache --virtual .runtime-deps graphviz