FROM rust:1.95.0-alpine # Install system dependencies needed for git operations and the script RUN apk add --no-cache \ git \ curl \ ca-certificates \ openssl-dev \ musl-dev \ gcc # Download the pre-compiled release-plz binary (much faster than cargo install) RUN curl -fsSL https://github.com/release-plz/release-plz/releases/download/release-plz-v0.3.157/release-plz-x86_64-unknown-linux-musl.tar.gz | tar -xz -C /usr/local/bin # Verify tools are ready RUN cargo --version && release-plz --version