Add Dockerfile.release using mise to install toolchain, Gitea Actions workflow with snapshot dry-run on main pushes and full release on tags, and mise release-docker task for local testing.
21 lines
371 B
Docker
21 lines
371 B
Docker
FROM debian:trixie-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
git \
|
|
build-essential \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install mise
|
|
RUN curl https://mise.run | sh
|
|
ENV PATH="/root/.local/bin:${PATH}"
|
|
|
|
WORKDIR /build
|
|
COPY mise.toml .
|
|
RUN mise trust && mise install
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["mise", "run"]
|
|
CMD ["release"]
|