Sign inSign up

gremlin/rust

By gremlin

•Updated about 4 hours ago

Rust development environment

Image
0

100K+

gremlin/rust repository overview

⁠docker-rust

Musl Rust development environment

Master: CircleCI    Recent: CircleCI    Docker Hub: Docker Hub

⁠Update Rust

To update the Rust version provided by this Docker image, edit the RUST_VERSION variable in the Dockerfile, then create a pull request. When the change is merged to the master branch the new Docker images are automatically built then published.

⁠Out-of-date

The material below is out-of-date but kept for context.

⁠Update Rust

To update the Rust version provided by this Docker image, edit the RUST_VERSION variable in the Dockerfile, then create and push a new Git tag using the version as the tag name:

vim Dockerfile
git tag <version>
git push origin <version>

⁠DockerHub Autobuilds

This repository is configured to automatically build gremlin/musl-rust:lastest every time a new commit is merged to master. When these commits are also tagged, DockerHub is configured to also tag the same build as gremlin/must-rust:<tag>. So tagging a commit with 1.37.0 will create gremlin/musl-rust:latest and gremlin/musl-rust:1.37.0.

For more info, see the Build Page on Docker Hub⁠.

⁠Manually build+push a specific tag

In rare cases, you may need to build an image locally and push it to DockerHub. This is only recommended as a last resort. We should always try to build from the automated steps above.

Prereqs:

  • Your local docker CLI is logged in to Docker Hub
  • Git tag 1.34.2 actually exists

Process:

git checkout 1.34.2
docker build . -t gremlin/musl-rust:1.34.2
docker push gremlin/musl-rust:1.34.2

Tag summary

Content type

Image

Digest

sha256:bfd183f8d…

Size

870 MB

Last updated

3 months ago

docker pull gremlin/rust