docker/rust/release-plz.Dockerfile
2026-03-07 02:09:43 +01:00

16 lines
520 B
Docker

FROM rust: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.156/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