forked from alquimista1983/docker-node-infinality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (14 loc) · 876 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM node:8.11.1
MAINTAINER Team Reelevant <[email protected]>
# GD graphics lib
RUN echo "deb http://httpredir.debian.org/debian stable main contrib" >> /etc/apt/sources.list.d/nonfree.list
RUN apt-get update && apt-get install -y libgd-dev ttf-mscorefonts-installer
# fonts
RUN echo "deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main" | tee /etc/apt/sources.list.d/infinality.list && \
echo "deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/infinality.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E985B27B && \
apt-get update && apt-get install -y --no-install-recommends \
libfontconfig fontconfig-infinality fonts-liberation fonts-roboto && \
bash /etc/fonts/infinality/infctl.sh setstyle osx
COPY fonts /usr/local/share/fonts
RUN fc-cache -vf