feat: 修改为实例dockerfile
This commit is contained in:
9
Dockerfile.example
Normal file
9
Dockerfile.example
Normal file
@@ -0,0 +1,9 @@
|
||||
# 基于 chromedp/headless-shell 基础镜像
|
||||
FROM chromedp/headless-shell:latest
|
||||
|
||||
# 安装 Noto 和 Noto CJK 字体
|
||||
RUN sed -i 's@http://deb.debian.org@http://mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list.d/debian.sources \
|
||||
&& apt-get update -y \
|
||||
&& apt-get install -y fonts-noto fonts-noto-cjk fonts-noto fonts-noto-cjk fonts-roboto fonts-cantarell fonts-firacode fonts-droid-fallback fonts-dejavu-core fonts-oxygen fonts-liberation fonts-freefont-ttf fonts-cmu fonts-courier-prime fonts-comic-neue\
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/
|
||||
Reference in New Issue
Block a user