mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -05:00
* Implemented Dev Container * Added extra extensions * Improved `README.md` * Typo * Update .devcontainer/Dockerfile Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update README.md Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update README.md Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update README.md Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update README.md Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update README.md Co-authored-by: Toby Scott <hi@tobyscott.dev> * Update Dockerfile --------- Co-authored-by: Toby Scott <hi@tobyscott.dev>
13 lines
376 B
Docker
13 lines
376 B
Docker
FROM rust:1
|
|
|
|
# Install MDBook and other CLI tools
|
|
RUN rustup component add rustfmt clippy && \
|
|
cargo install mdbook --version 0.4.* && \
|
|
cargo install mdbook-admonish --version 1.*
|
|
|
|
# Tell git to trust "dubious" ownership
|
|
RUN git config --global --add safe.directory /repository
|
|
|
|
# Entry directory for non-vscode containers based on this image
|
|
WORKDIR /repository
|