Docker Rust development images built on node:lts-bullseye and node:current-bullseye.
Base development image for Rust web applications that also want to build JS/TS code alongside their Rust code.
The Node images were selected as the base image simply because the Rust Dockerfile code was less complicated and therefore theoretically easier to maintain.
For the "Current" version of Node
docker pull ghcr.io/johnbcodes/docker-node-rust:current-latest
For the LTS version of Node
docker pull ghcr.io/johnbcodes/docker-node-rust:lts-latest
The entrypoint/command of running either Node or a system command has been overridden to just run Bash.
I will attempt to add images for new Rust/Rustup versions as they arrive. Otherwise, please submit an issue.
The Node base images were created by the Node.js project.
The Dockerfile code for Rust installation was created by the Rust community.
The GitHub Action CI, publishing of the ghcr.io image, and documentation was created by myself.