Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.

Hoverbear/docker-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Does this need an update? Let me know.

Build

docker build -t rust .

Shell

As a shell with rustc and cargo installed:

docker run -t -i --rm=true -v $(pwd):/source hoverbear/rust /bin/bash

Rustc

To compile a rust file:

docker run -t -i --rm=true -v $(pwd):/source hoverbear/rust rustc myfile.rs

Cargo

To build a cargo project:

docker run -t -i --rm=true -v $(pwd):/source hoverbear/rust cargo build

SELinux Issues

On SELinux flavors you might need to set permissions properly.

chcon -Rt svirt_sandbox_file_t $(pwd)

About

A Rust loaded docker image, suitable for using to build projects.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors