Sign inSign up

yamafaktory/ruster

By yamafaktory

•Updated about 9 years ago

A Docker image for Rust based on alpine:edge

Image
0

251

yamafaktory/ruster repository overview

⁠Ruster Build Status

A Docker⁠ image for Rust⁠ based on alpine:edge⁠.

⁠Prerequisites

Install Docker Engine⁠.

⁠Obtaining the Docker image

⁠Downloading the Docker image from Docker Hub

This is the simplest and the fastest solution to get a pre-built image:

docker pull yamafaktory/ruster
⁠Building the Docker image locally

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 .

⁠Running the Docker image as a container

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

⁠License

Released under the MIT license⁠ by Davy Duperron.

Tag summary

Content type

Image

Digest

Size

86 MB

Last updated

about 9 years ago

docker pull yamafaktory/ruster