14 lines
540 B
Plaintext
14 lines
540 B
Plaintext
FROM alpine:3.13.6
|
|
LABEL org.opencontainers.image.authors="lxh@cxh.cn"
|
|
|
|
# 安装工具
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
|
apk add --update --no-cache tzdata \
|
|
libgcc libstdc++ libx11 glib libxrender libxext libintl \
|
|
ttf-dejavu ttf-droid ttf-freefont ttf-liberation ttf-ubuntu-font-family
|
|
|
|
COPY --from=madnight/alpine-wkhtmltopdf-builder:0.12.5-alpine3.10-606718795 \
|
|
/bin/wkhtmltopdf /bin/wkhtmltopdf
|
|
COPY shs.otf /usr/share/fonts/
|
|
ENV TZ=Asia/Shanghai \
|
|
GIN_MODE=release |