Files
leptos-book/.devcontainer/Dockerfile
Jedd Dryden 0b2d6a9c23 Dev Container Implementation and README.md Updates (#47)
* 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>
2024-02-13 15:06:42 -08:00

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