Skip to content

Commit 8e0383b

Browse files
classabbyampDuncaen
authored andcommitted
services/pkg/mdbook: use mdBook-legacy to work around incompatibilities
Ref: void-linux/void-docs#840 Ref: void-linux/void-docs#841
1 parent 4029e30 commit 8e0383b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/pkg/mdbook/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ghcr.io/void-linux/void-glibc-full:latest
22

3-
RUN xbps-install -Suy xbps && xbps-install -y tini mdBook rsync git && \
3+
RUN xbps-install -Suy xbps && xbps-install -y tini mdBook-legacy rsync git && \
44
rm -rf /var/cache/xbps
55

66
WORKDIR /mdbook

services/pkg/mdbook/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
set -eu
33
git clone --filter=tree:0 "${REPO_URL}" /mdbook/repo
4-
mdbook build -d /mdbook/book/ /mdbook/repo/
4+
mdbook-legacy build -d /mdbook/book/ /mdbook/repo/
55
rsync -a --delete /mdbook/book/html/* "${OUTDIR:-/out}"

0 commit comments

Comments
 (0)