Skip to content

build: use Minimus Rust builder - #128

Merged
shikhar merged 2 commits into
mainfrom
ei/minimus-rust-builder
Jul 29, 2026
Merged

build: use Minimus Rust builder#128
shikhar merged 2 commits into
mainfrom
ei/minimus-rust-builder

Conversation

@emiioan

@emiioan emiioan commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Replace the public rust:latest builder with reg.mini.dev/rust:latest and run the build stage as root for package installation.

Validated:

  • docker build --progress=plain --target runtime -t cachey:minimus-rust-test .
  • docker run --rm cachey:minimus-rust-test --help
  • cargo +nightly fmt -- --check
  • cargo nextest run --all-features (124 passed)
  • cargo clippy --all-features --all-targets -- -D warnings --allow deprecated (current-main Rust 1.97 reports 15 useless-borrows-in-formatting warnings in unchanged tests; all other lints pass when that lint is allowed)
  • cargo deny check with cargo-deny 0.19.7
  • cargo metadata --locked --format-version 1

Replace the public rust:latest builder with reg.mini.dev/rust:latest and run the build stage as root for package installation.

Validated:
- docker build --progress=plain --target runtime -t cachey:minimus-rust-test .
- docker run --rm cachey:minimus-rust-test --help
- cargo +nightly fmt -- --check
- cargo nextest run --all-features (124 passed)
- cargo clippy --all-features --all-targets -- -D warnings --allow deprecated (current-main Rust 1.97 reports 15 useless-borrows-in-formatting warnings in unchanged tests; all other lints pass when that lint is allowed)
- cargo deny check with cargo-deny 0.19.7
- cargo metadata --locked --format-version 1
@emiioan
emiioan requested review from cristi- and shikhar July 29, 2026 11:31
@greptile-apps

greptile-apps Bot commented Jul 29, 2026

Copy link
Copy Markdown

Greptile Summary

Replaces the public Rust builder image with the Minimus Rust image and explicitly selects the root user for the build stage.

Confidence Score: 5/5

The PR appears safe to merge with no concrete changed-code failures identified.

The builder-stage user does not propagate into the independently declared runtime stages, and the supplied validation confirms that the new builder produces an executable runtime image.

Important Files Changed

Filename Overview
Dockerfile Updates only the builder-stage image and user; the root selection remains isolated from the separately based debug and runtime stages.

Reviews (1): Last reviewed commit: "build: use Minimus Rust builder" | Re-trigger Greptile

@shikhar
shikhar merged commit 770ab5e into main Jul 29, 2026
6 checks passed
@shikhar
shikhar deleted the ei/minimus-rust-builder branch July 29, 2026 22:58
@github-actions github-actions Bot mentioned this pull request Jul 29, 2026
shikhar pushed a commit that referenced this pull request Jul 29, 2026
## 🤖 New release

* `cachey`: 0.10.13 -> 0.10.14

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.10.14](0.10.13...0.10.14)
- 2026-07-29

### Fixed

- clippy useless_borrows_in_formatting warnings
([#129](#129))

### Other

- use Minimus Rust builder
([#128](#128))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants