Disable BenchNine font the in borgmatic docs tarball, because Debian policy doesn't allow fonts they don't compile themselves.

This commit is contained in:
Dan Helfman
2026-03-02 23:19:03 -08:00
parent e693e42b9e
commit 43d8c25234
6 changed files with 13 additions and 6 deletions
+4 -1
View File
@@ -13,6 +13,9 @@ FROM docker.io/node:22.4.0-alpine AS html
ARG ENVIRONMENT=production
ARG PORT=${PORT}
ARG FONT=${FONT}
RUN echo "FONT: ${FONT}"
WORKDIR /source
@@ -29,7 +32,7 @@ COPY --from=borgmatic /etc/borgmatic/options.json /source/docs/reference/configu
COPY --from=borgmatic /command-line/* /source/docs/_includes/borgmatic/command-line/
COPY --from=borgmatic /contributors.html /source/docs/_includes/borgmatic/contributors.html
COPY . /source
RUN NODE_ENV=${ENVIRONMENT} PORT=${PORT} npx eleventy --input=/source/docs --output=/output
RUN NODE_ENV=${ENVIRONMENT} PORT=${PORT} FONT=${FONT} npx eleventy --input=/source/docs --output=/output
RUN npx -y pagefind --site /output
FROM docker.io/nginx:1.26.1-alpine
+2 -1
View File
@@ -1,6 +1,7 @@
module.exports = function() {
return {
environment: process.env.NODE_ENV || "development",
port: process.env.PORT || 8080
port: process.env.PORT || 8080,
font: process.env.FONT || "custom"
};
};
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<title>borgmatic{% if subtitle or title %} - {% endif %}{{ subtitle + ' - ' if subtitle}}{{ title }}</title>
{% endif %}
{%- set css %}
{% include 'index.css' %}
{% include 'index.css.njk' %}
{% include 'components/lists.css' %}
{% include 'components/external-links.css' %}
{% include 'components/minilink.css' %}
+1
View File
@@ -40,6 +40,7 @@ services:
args:
ENVIRONMENT: development
PORT: ${PORT:-8080}
FONT: ${FONT}
environment:
- PORT=${PORT:-8080}
message: