summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
-rw-r--r--Makefile5
-rw-r--r--src/pretty.css2
3 files changed, 12 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8374769
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM alpine:3.13
+
+RUN apk update && apk upgrade && apk add \
+lynx \
+make \
+xmlto
diff --git a/Makefile b/Makefile
index 7aef63d..1ae52ae 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,11 @@ all: out/html/devel/index.html out/text/develbook.txt \
out/html/admin/index.html out/text/adminbook.txt \
out/html/hcl/index.html out/text/hclbook.txt
+image:
+ docker build . -t cookbook
+site:
+ docker run -u$(shell id -u):$(shell id -g) -v$(CURDIR):/tmp -w /tmp --rm -it cookbook make
+
out/text/adminbook.txt: src/admin/*.xml
@mkdir -p out/text
@printf 'Administrator Handbook: Generating text...\n'
diff --git a/src/pretty.css b/src/pretty.css
index f05593d..69e57e7 100644
--- a/src/pretty.css
+++ b/src/pretty.css
@@ -1,4 +1,4 @@
-@import url("https://www.adelielinux.org/font/font-amal.css");
+@import url("https://oldwww.adelielinux.org/font/font-amal.css");
html {
background: #eee;