docker/rust/release-plz.Dockerfile
Victor Martinez Montané b2fcf71157 feat: refactor scripts & bump versions (#1)
Co-authored-by: JasterV <49537445+JasterV@users.noreply.github.com>
Reviewed-on: https://codeberg.org/JasterV/docker/pulls/1
2026-04-23 01:52:28 +02:00

16 lines
527 B
Docker

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