Skip to content

Commit

Permalink
Merge pull request #23 from Meltsun/main
Browse files Browse the repository at this point in the history
修复dockerfile安装字体命令
  • Loading branch information
Jarrettluo authored Jun 16, 2024
2 parents 2d8c8ac + aa1ceae commit b29d4a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ MAINTAINER luojiarui [email protected]

# 在docker中添加fontconfig 和 字体
# 该过程比较慢,可以参考https://lhalcyon.com/alpine-font-issue/
ENV LANG en_US.UTF-8RUN apk add --update ttf-dejavu fontconfig && rm -rf /var/cache/apk/*
ENV LANG en_US.UTF-8
RUN apk add --update ttf-dejavu fontconfig && rm -rf /var/cache/apk/*


# 将当前目录下的jar包复制到docker容器的/目录下
Expand Down

0 comments on commit b29d4a0

Please sign in to comment.