forked from elfhosted/elfhosted.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (32 loc) · 1.14 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ARG FROM_SOURCE=squidfunk/mkdocs-material
FROM ${FROM_SOURCE}
RUN apk add --no-cache py3-pip py3-pillow py3-cffi py3-brotli gcc musl-dev python3-dev pango build-base libffi-dev jpeg-dev libxslt-dev pngquant py3-cairosvg
RUN pip install \
beautifulsoup4==4.9.3 \
mkdocs-autolinks-plugin \
mkdocs-htmlproofer-plugin \
mkdocs-git-revision-date-localized-plugin \
mkdocs-macros-plugin \
mkdocs-git-committers-plugin-2 \
mkdocs-meta-descriptions-plugin \
mkdocs-with-pdf \
mkdocs-extra-sass-plugin \
mkdocs-rss-plugin \
qrcode \
livereload
# # Theoretically this could add support for headless chrome
# RUN apk add --no-cache \
# chromium \
# nss \
# freetype \
# harfbuzz \
# ca-certificates \
# ttf-freefont \
# nodejs \
# yarn ttf-ubuntu-font-family dbus yarn
RUN git config --global --add safe.directory /docs
# Additional font
# COPY fonts /usr/share/fonts/Additional
# RUN apk --update --upgrade --no-cache add fontconfig ttf-freefont font-noto terminus-font \
# && fc-cache -f \
# && fc-list | sort