fix: download mdbook binary directly
Some checks failed
books / docker (push) Successful in 10s
books / deploy (push) Failing after 1s

This commit is contained in:
Djohn 2026-02-07 11:04:37 +01:00
parent 6ab266ade5
commit 6b6e3f0c15
No known key found for this signature in database

View file

@ -1,5 +1,8 @@
# Build stage - use pre-built mdbook # Build stage
FROM peaceiris/mdbook:v0.4.40 AS builder FROM alpine:3.19 AS builder
RUN apk add --no-cache curl tar
RUN curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-musl.tar.gz | tar -xz -C /usr/local/bin
WORKDIR /book WORKDIR /book
COPY book.toml . COPY book.toml .