add toc
This commit is contained in:
commit
0d3ece6b56
2 changed files with 10 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
1
README.md
Normal file
1
README.md
Normal file
|
@ -0,0 +1 @@
|
|||
# mdbook Dockerfile
|
Loading…
Reference in a new issue