mdbook-container/Dockerfile

10 lines
273 B
Text
Raw Normal View History

2022-11-22 10:33:56 +01:00
FROM alpine:3 as builder
RUN apk add --no-cache cargo
RUN cargo install mdbook
RUN cargo install mdbook-toc
FROM alpine:3
RUN apk add --no-cache libgcc
COPY --from=builder /root/.cargo/bin/mdbook /bin/mdbook
COPY --from=builder /root/.cargo/bin/mdbook-toc /bin/mdbook-toc