docker构建jdk环境,当使用图形验证码时不显示,报libfreetype的错误,解决办法

yum -y install freetype freetype-devel 

yum install fontconfig

fc-cache --force