https://github.com/eldesh/docker-rust
a Dockerfile provides rust environemtn on ubuntu linux
https://github.com/eldesh/docker-rust
Last synced: 2 months ago
JSON representation
a Dockerfile provides rust environemtn on ubuntu linux
- Host: GitHub
- URL: https://github.com/eldesh/docker-rust
- Owner: eldesh
- Created: 2018-09-26T10:21:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T12:54:56.000Z (about 5 years ago)
- Last Synced: 2025-01-26T20:47:08.924Z (4 months ago)
- Language: Dockerfile
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
![rust logo][logo]
# Docker/Rust
![dockeri.co][dockericon]
## Summary
This docker image provides **Rust** compiler environment on debian.
## Base Image
This docker images are built on **debian:jessie-20190506** .
## Environment
Running a container created with this image without extra arguments,
bash shell is executed with the user named *rust*.
And this user is belong to *sudoers*, so you have permissions to be able to execute any operations in containers.- user id is `rust` and uid is `1000`
- group id is `rust` and gid is `1000`
- *$HOME* is set to `/home/rust`
- *$PWD* is `/home/rust/source` (default working directory)NOTICE:
`DEBIAN_FRONTEND=noninteractive` is set by default.
Then you run a container from this image interactively, confirmation messages are may be suppressed by default.## Example
Default working directory is an empty directory owned by the user rust.
So, it is suggested that mounting a directory contains your rust project as `/home/rust/source`, building it with `cargo build`:```sh
$ docker run -it --rm -v `pwd`:/home/rust/source eldesh/rust:latest cargo build
```## Tags
This docker image series are tagged corresponds to the official rust toolchain naming rule.
- latest(nightly)
- stable
- 1.35.0
- 1.34.2
- 1.34.1
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.1
- 1.31.0
- 1.30.0
- 1.29.2
- 1.29.1
- 1.29.0
- 1.28.0
- 1.26.0
- 1.25.0## Links
- [Rust](https://www.rust-lang.org/en-US/ "Rust")
[logo]: https://www.rust-lang.org/logos/rust-logo-blk.svg "a system programming language"
[dockericon]: https://dockeri.co/image/eldesh/rust "dockeri.co"