A Docker image for Rust based on alpine:edge
244
A Docker image for Rust based on alpine:edge.
Install Docker Engine.
This is the simplest and the fastest solution to get a pre-built image:
docker pull yamafaktory/ruster
Please note that this option will take a longer time to be executed.
git clone https://github.com/yamafaktory/ruster.git
cd ruster
docker build -t yamafaktory/ruster .
To run any cargo command in your project, you need to mount the host directory where your project is located (e.g. /path/to/your/project) as a data volume in the container (:/ruster - this name is set in the Dockerfile so please do not modify it!) by running for example the following command:
docker run --rm -it -v /path/to/your/project:/ruster yamafaktory/ruster cargo run
To get a list of the commands and options available via the Cargo CLI tool, run:
docker run --rm -it yamafaktory/ruster
Released under the MIT license by Davy Duperron.
Content type
Image
Digest
Size
86 MB
Last updated
about 9 years ago
docker pull yamafaktory/ruster