标签:字体 copy 基于 code share nbsp 添加 生效 fonts
添加中文字体其实很简单,往容器里COPY一个ttf字体文件就生效了,不需要执行fc-cache。
基于debian 8的tomcat容器,Dockerfile:
COPY msyh.ttf /usr/share/fonts/msyh.ttf
容器启动的时候这个ttf就已经生效了。
标签:字体 copy 基于 code share nbsp 添加 生效 fonts
原文地址:http://www.cnblogs.com/highend/p/docker_container_add_fonts.html