docker/rust/magic-release.Dockerfile

18 lines
400 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 \
jq
COPY rust/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"]