Sign inSign up

gremlin/musl-rust

By gremlin

•Updated over 5 years ago

Musl Rust development environment from https://bitbucket.org/gremlininc/docker-musl-rust/src/master/

Image
1

10K+

gremlin/musl-rust repository overview

⁠docker-musl-rust

Musl Rust development environment

⁠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

Size

835.6 MB

Last updated

over 5 years ago

docker pull gremlin/musl-rust