Files
gitnow/Dockerfile.release
kjuulh 6a49c1eedc
Some checks failed
Release / release (push) Failing after 1m10s
fix: add ca-certificates and pkg-config to release Dockerfile
Add missing ca-certificates (for curl/mise install), pkg-config and
libssl-dev (for cargo builds). Remove redundant cargo tool from
mise.toml since it ships with rust.
2026-03-20 15:47:08 +01:00

24 lines
465 B
Docker

FROM debian:trixie-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
build-essential \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Install mise to a location already on PATH
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
RUN curl https://mise.run | sh
WORKDIR /build
COPY mise.toml .
RUN mise trust && mise install
COPY . .
ENTRYPOINT ["mise", "run"]
CMD ["release"]