Skip to content

Docker Rust development images built on node:lts-bookworm and node:current-bookworm

License

Notifications You must be signed in to change notification settings

johnbcodes/docker-node-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-node-rust

Docker Rust development images built on node:lts-bullseye and node:current-bullseye.

Motivation

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.

Usage

Docker command line example

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

Entrypoint / Command

The entrypoint/command of running either Node or a system command has been overridden to just run Bash.

Updates

I will attempt to add images for new Rust/Rustup versions as they arrive. Otherwise, please submit an issue.

Acknowledgments

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.

About

Docker Rust development images built on node:lts-bookworm and node:current-bookworm

Resources

License

Stars

Watchers

Forks

Packages