docker/rust/magic-release.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

19 lines
431 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 \
jq \
coreutils
COPY rust/scripts/magic-release.sh /usr/local/bin/magic-release
RUN chmod +x /usr/local/bin/magic-release
# Entrypoint is required for Woodpecker plugins
ENTRYPOINT ["/usr/local/bin/magic-release"]