Skip to content

11notes/docker-rust

Repository files navigation

banner

RUST

size5pxpulls5px5pxswiss_made

Build static linked rust apps with the default tooling present

SYNOPSIS 📖

What can I do with this? Build static linked rust apps with the default tooling present.

BUILD 🚧

FROM 11notes/rust:1.94
RUN set -ex; \
  git clone https://github.com/some/repo; \
  cd ./repo; \
  cargo build --release --target x86_64-unknown-linux-musl;

DEFAULT SETTINGS 🗃️

Parameter Value Description
user docker user name
uid 1000 user identifier
gid 1000 group identifier
home /rust home directory of user docker

ENVIRONMENT 📝

Parameter Value Default
TZ Time Zone
DEBUG Will activate debug option for container image and app (if available)

MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

There is no latest tag, what am I supposed to do about updates?

It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you don’t want to change the tag to the latest semver, simply use the short versions of semver. Instead of using :1.96.0 you can use :1 or :1.96. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

REGISTRIES ☁️

docker pull 11notes/rust:1.96.0
docker pull ghcr.io/11notes/rust:1.96.0
docker pull quay.io/11notes/rust:1.96.0

SOURCE 💾

PARENT IMAGE 🏛️

BUILT WITH 🧰

GENERAL TIPS 📌

Tip

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.

created 30.05.2026, 06:05:47 (CET)

About

Build static linked rust apps with the default tooling present

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors