From b9f3a456b17a1375875e14320627f39b43a57deb Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 23 Aug 2021 00:49:34 +0700 Subject: [PATCH] Add dependencies to build diagrams --- .gitignore | 1 + docs/Makefile | 4 +++- docs/diagrams/requirements.txt | 1 + tools/Dockerfile | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 docs/diagrams/requirements.txt diff --git a/.gitignore b/.gitignore index 1d759df5..220eca9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.venv/ book/ build/ terraform-*-tmp-*/ diff --git a/docs/Makefile b/docs/Makefile index f87b09e1..4d77b705 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,7 +5,9 @@ default: book .PHONY: diagrams diagrams: cd diagrams \ - && python * + && python3 -m venv .venv \ + && pip3 install -r requirements.txt \ + && python3 * .PHONY: book book: diff --git a/docs/diagrams/requirements.txt b/docs/diagrams/requirements.txt new file mode 100644 index 00000000..ec562f21 --- /dev/null +++ b/docs/diagrams/requirements.txt @@ -0,0 +1 @@ +diagrams diff --git a/tools/Dockerfile b/tools/Dockerfile index b8259289..bdda61aa 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -16,6 +16,7 @@ RUN yes | pacman --sync --refresh \ docker \ docker-compose \ git \ + graphviz \ helm \ kubectl \ libisoburn \