mirror of
https://codeberg.org/JasterV/docker.git
synced 2026-04-26 18:10:02 +00:00
16 lines
520 B
Docker
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
|