forked from Hacking-the-Cloud/hackingthe.cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.Dockerfile
More file actions
21 lines (18 loc) · 853 Bytes
/
dev.Dockerfile
File metadata and controls
21 lines (18 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This Dockerfile is intended for local testing and requires a subscription to
# Material for MkDocs to work. If you'd like to contribute to Hacking the Cloud
# and need to setup a local env, you can use the normal "Dockerfile" in this repo.
# Thank you!
FROM ubuntu
ARG GH_TOKEN
WORKDIR /docs
RUN apt update -y
RUN apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev python3-pip python3 git
RUN pip install pillow cairosvg
RUN pip install mkdocs-minify-plugin
RUN pip install mkdocs-awesome-pages-plugin
RUN pip install mkdocs-redirects
RUN pip install mkdocs-git-revision-date-localized-plugin
RUN pip install mkdocs-git-committers-plugin-2
RUN pip install mkdocs-rss-plugin
RUN pip install --use-pep517 mkdocs-glightbox
RUN pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git