mirror of
https://codeberg.org/JasterV/docker.git
synced 2026-04-26 18:10:02 +00:00
Co-authored-by: JasterV <49537445+JasterV@users.noreply.github.com> Reviewed-on: https://codeberg.org/JasterV/docker/pulls/1
16 lines
527 B
Docker
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
|