https://github.com/jmitchell/docker-rust
Rust development environment
https://github.com/jmitchell/docker-rust
Last synced: 3 months ago
JSON representation
Rust development environment
- Host: GitHub
- URL: https://github.com/jmitchell/docker-rust
- Owner: jmitchell
- Created: 2016-07-02T20:03:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-30T01:54:49.000Z (over 9 years ago)
- Last Synced: 2025-12-30T10:00:36.008Z (5 months ago)
- Language: Emacs Lisp
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://microbadger.com/images/jmitchell/rust "Get your own image badge on microbadger.com")
# Usage
Pull the image from
[DockerHub](https://hub.docker.com/r/jmitchell/rust/).
```
$ docker pull jmitchell/rust:$TAG
```
Try it out by starting a temporary, interactive container.
```
$ docker run -it --rm jmitchell/rust:$TAG
```
# Updating
Edit the `RUST_VERSION` environment variable in the Dockerfile and run
```
$ docker build -t jmitchell/rust:1.12.0 . # replace version as needed
```
Test it according to the usage instructions above. If it works as
expected, push the image to Dockerhub:
```
$ docker push jmitchell/rust:1.12.0
```
Lastly, update the latest tag and push it too. For example:
```
$ docker build -t jmitchell/rust:latest .
$ docker push jmitchell/rust:latest
```